forked from mirrors/nixpkgs
ocamlPackages.ocp-ocamlres: 0.3 -> 0.4
This commit is contained in:
parent
1e1839239c
commit
f8acdb08f0
|
@ -1,16 +1,20 @@
|
|||
{ stdenv, fetchFromGitHub, ocaml, findlib, pprint }:
|
||||
{ stdenv, fetchFromGitHub, ocaml, findlib, astring, pprint }:
|
||||
|
||||
if !stdenv.lib.versionAtLeast ocaml.version "4.02"
|
||||
then throw "ocp-ocamlres is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ocaml${ocaml.version}-ocp-ocamlres-${version}";
|
||||
version = "0.3";
|
||||
version = "0.4";
|
||||
src = fetchFromGitHub {
|
||||
owner = "OCamlPro";
|
||||
repo = "ocp-ocamlres";
|
||||
rev = "v${version}";
|
||||
sha256 = "0pm1g38f6pmch1x4pcc09ky587x5g7p7n9dfbbif8zkjqr603ixg";
|
||||
sha256 = "0smfwrj8qhzknhzawygxi0vgl2af4vyi652fkma59rzjpvscqrnn";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib pprint ];
|
||||
buildInputs = [ ocaml findlib astring pprint ];
|
||||
createFindlibDestdir = true;
|
||||
|
||||
installFlags = [ "BINDIR=$(out)/bin" ];
|
||||
|
|
Loading…
Reference in a new issue