Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ocamlPackages.genspio: init at 0.0.2 with dependencies
- Loading branch information
Showing
4 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ lib, fetchFromGitHub, buildDunePackage | ||
, nonstd, sosa | ||
}: | ||
|
||
buildDunePackage rec { | ||
pname = "genspio"; | ||
version = "0.0.2"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "hammerlab"; | ||
repo = pname; | ||
rev = "${pname}.${version}"; | ||
sha256 = "0cp6p1f713sfv4p2r03bzvjvakzn4ili7hf3a952b3w1k39hv37x"; | ||
}; | ||
|
||
minimumOCamlVersion = "4.03"; | ||
|
||
propagatedBuildInputs = [ nonstd sosa ]; | ||
|
||
configurePhase = '' | ||
ocaml please.mlt configure | ||
''; | ||
|
||
doCheck = true; | ||
|
||
meta = with lib; { | ||
homepage = https://smondet.gitlab.io/genspio-doc/; | ||
description = "Typed EDSL to generate POSIX Shell scripts"; | ||
license = licenses.asl20; | ||
maintainers = [ maintainers.alexfmpe ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ lib, fetchFromBitbucket, buildDunePackage }: | ||
|
||
buildDunePackage rec { | ||
pname = "nonstd"; | ||
version = "0.0.3"; | ||
|
||
minimumOCamlVersion = "4.02"; | ||
|
||
src = fetchFromBitbucket { | ||
owner = "smondet"; | ||
repo = pname; | ||
rev = "${pname}.${version}"; | ||
sha256 = "0ccjwcriwm8fv29ij1cnbc9win054kb6pfga3ygzdbjpjb778j46"; | ||
}; | ||
|
||
doCheck = true; | ||
|
||
meta = with lib; { | ||
homepage = https://bitbucket.org/smondet/nonstd; | ||
description = "Non-standard mini-library"; | ||
license = licenses.isc; | ||
maintainers = [ maintainers.alexfmpe ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ lib, fetchFromGitHub, stdenv | ||
, findlib, nonstd, ocaml, ocamlbuild | ||
}: | ||
|
||
stdenv.mkDerivation rec { | ||
name = "ocaml${ocaml.version}-sosa-${version}"; | ||
version = "0.3.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "hammerlab"; | ||
repo = "sosa"; | ||
rev = "sosa.${version}"; | ||
sha256 = "053hdv6ww0q4mivajj4iyp7krfvgq8zajq9d8x4mia4lid7j0dyk"; | ||
}; | ||
|
||
buildInputs = [ nonstd ocaml ocamlbuild findlib ]; | ||
|
||
buildPhase = "make build"; | ||
|
||
createFindlibDestdir = true; | ||
|
||
doCheck = true; | ||
|
||
meta = with lib; { | ||
homepage = http://www.hammerlab.org/docs/sosa/master/index.html; | ||
description = "Sane OCaml String API"; | ||
license = licenses.isc; | ||
maintainers = [ maintainers.alexfmpe ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters