ocamlPackages.sosa: remove spurious dependency on nonstd

This commit is contained in:
Vincent Laporte 2021-04-02 08:49:42 +02:00
parent b092bdccfa
commit ef0e64ec60
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -1,7 +1,11 @@
{ 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 {
name = "ocaml${ocaml.version}-sosa-${version}";
version = "0.3.0";
@ -13,7 +17,7 @@ stdenv.mkDerivation rec {
sha256 = "053hdv6ww0q4mivajj4iyp7krfvgq8zajq9d8x4mia4lid7j0dyk";
};
buildInputs = [ nonstd ocaml ocamlbuild findlib ];
buildInputs = [ ocaml ocamlbuild findlib ];
buildPhase = "make build";