Suggested changes
This commit is contained in:
parent
d940b44137
commit
6ef367a5e8
|
@ -1,6 +1,6 @@
|
||||||
{ buildOcaml, ocaml_oasis }:
|
{ buildOcaml, ocaml_oasis }:
|
||||||
|
|
||||||
{ name, version, buildInputs ? [], ...
|
{ buildInputs ? [], ...
|
||||||
}@args:
|
}@args:
|
||||||
|
|
||||||
buildOcaml (args // {
|
buildOcaml (args // {
|
||||||
|
|
|
@ -1,25 +1,25 @@
|
||||||
{ stdenv, fetchFromGitHub, ocamlPackages, buildOasisPackage }:
|
{ lib, fetchFromGitHub, ocamlPackages, buildOasisPackage, ounit, ocaml_extlib, num }:
|
||||||
|
|
||||||
buildOasisPackage rec {
|
buildOasisPackage rec {
|
||||||
name = "tcslib";
|
name = "tcslib";
|
||||||
version = "v0.3";
|
version = "0.3";
|
||||||
|
|
||||||
minimumSupportedOCamlVersion = "4.03.0";
|
minimumSupportedOCamlVersion = "4.03.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tcsprojects";
|
owner = "tcsprojects";
|
||||||
repo = "tcslib";
|
repo = "tcslib";
|
||||||
rev = version;
|
rev = "v${version}";
|
||||||
sha256 = "05g6m82blsccq8wx8knxv6a5fzww7hi624jx91f9h87nk2fsplhi";
|
sha256 = "05g6m82blsccq8wx8knxv6a5fzww7hi624jx91f9h87nk2fsplhi";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with ocamlPackages; [ ounit ];
|
buildInputs = [ ounit ];
|
||||||
propagatedBuildInputs = with ocamlPackages; [ ocaml_extlib num ];
|
propagatedBuildInputs = [ ocaml_extlib num ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://github.com/tcsprojects/tcslib;
|
homepage = https://github.com/tcsprojects/tcslib;
|
||||||
description = "A multi-purpose library for OCaml";
|
description = "A multi-purpose library for OCaml";
|
||||||
license = stdenv.lib.licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
maintainers = with stdenv.lib.maintainers; [ mgttlinger ];
|
maintainers = with lib.maintainers; [ mgttlinger ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue