ocamlPackages.uri-sexp: init at 3.0.0
This commit is contained in:
parent
88f57d4501
commit
136f739184
@ -1,5 +1,5 @@
|
||||
{ lib, fetchurl, buildDunePackage, ppx_sexp_conv, ounit
|
||||
, re, sexplib0, stringext
|
||||
{ lib, fetchurl, buildDunePackage, ounit
|
||||
, re, stringext
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
@ -12,7 +12,7 @@ buildDunePackage rec {
|
||||
};
|
||||
|
||||
buildInputs = [ ounit ];
|
||||
propagatedBuildInputs = [ ppx_sexp_conv re sexplib0 stringext ];
|
||||
propagatedBuildInputs = [ re stringext ];
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
|
13
pkgs/development/ocaml-modules/uri/sexp.nix
Normal file
13
pkgs/development/ocaml-modules/uri/sexp.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ lib, ocaml, buildDunePackage, uri, ounit, ppx_sexp_conv, sexplib0 }:
|
||||
|
||||
if !lib.versionAtLeast ocaml.version "4.04"
|
||||
then throw "uri-sexp is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
buildDunePackage {
|
||||
pname = "uri-sexp";
|
||||
inherit (uri) version src doCheck meta;
|
||||
|
||||
buildInputs = [ ounit ];
|
||||
propagatedBuildInputs = [ ppx_sexp_conv sexplib0 uri ];
|
||||
}
|
@ -768,6 +768,8 @@ let
|
||||
then callPackage ../development/ocaml-modules/uri { }
|
||||
else callPackage ../development/ocaml-modules/uri/legacy.nix { };
|
||||
|
||||
uri-sexp = callPackage ../development/ocaml-modules/uri/sexp.nix { };
|
||||
|
||||
uri_p4 = callPackage ../development/ocaml-modules/uri/legacy.nix {
|
||||
legacyVersion = true;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user