nixpkgs-suyu/pkgs/development/ocaml-modules/tcslib/default.nix
2020-04-10 17:54:53 +01:00

25 lines
660 B
Nix

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