mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
ocamlPackages.sosa: remove spurious dependency on nonstd
This commit is contained in:
parent
b092bdccfa
commit
ef0e64ec60
@ -1,7 +1,11 @@
|
|||||||
{ lib, fetchFromGitHub, stdenv
|
{ lib, fetchFromGitHub, stdenv
|
||||||
, findlib, nonstd, ocaml, ocamlbuild
|
, findlib, ocaml, ocamlbuild
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
if !lib.versionAtLeast ocaml.version "4.02"
|
||||||
|
then throw "sosa is not available for OCaml ${ocaml.version}"
|
||||||
|
else
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ocaml${ocaml.version}-sosa-${version}";
|
name = "ocaml${ocaml.version}-sosa-${version}";
|
||||||
version = "0.3.0";
|
version = "0.3.0";
|
||||||
@ -13,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "053hdv6ww0q4mivajj4iyp7krfvgq8zajq9d8x4mia4lid7j0dyk";
|
sha256 = "053hdv6ww0q4mivajj4iyp7krfvgq8zajq9d8x4mia4lid7j0dyk";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ nonstd ocaml ocamlbuild findlib ];
|
buildInputs = [ ocaml ocamlbuild findlib ];
|
||||||
|
|
||||||
buildPhase = "make build";
|
buildPhase = "make build";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user