nixpkgs/pkgs/development/ocaml-modules/tcslib/default.nix

26 lines
660 B
Nix
Raw Normal View History

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