2019-08-06 05:46:03 +01:00
|
|
|
{ lib, fetchFromGitHub, ocamlPackages, buildOasisPackage, ounit, ocaml_extlib, num }:
|
2019-08-04 17:16:16 +01:00
|
|
|
|
|
|
|
buildOasisPackage rec {
|
2019-08-07 08:50:46 +01:00
|
|
|
pname = "tcslib";
|
2019-08-06 05:46:03 +01:00
|
|
|
version = "0.3";
|
2019-08-04 17:16:16 +01:00
|
|
|
|
2019-08-06 16:54:09 +01:00
|
|
|
minimumOCamlVersion = "4.03.0";
|
2019-08-04 17:16:16 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tcsprojects";
|
|
|
|
repo = "tcslib";
|
2019-08-06 05:46:03 +01:00
|
|
|
rev = "v${version}";
|
2019-08-04 17:16:16 +01:00
|
|
|
sha256 = "05g6m82blsccq8wx8knxv6a5fzww7hi624jx91f9h87nk2fsplhi";
|
|
|
|
};
|
|
|
|
|
2019-08-06 05:46:03 +01:00
|
|
|
buildInputs = [ ounit ];
|
|
|
|
propagatedBuildInputs = [ ocaml_extlib num ];
|
2019-08-04 17:16:16 +01:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/tcsprojects/tcslib";
|
2019-08-04 17:16:16 +01:00
|
|
|
description = "A multi-purpose library for OCaml";
|
2019-08-06 05:46:03 +01:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ mgttlinger ];
|
2019-08-04 17:16:16 +01:00
|
|
|
};
|
|
|
|
}
|