3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/tcslib/default.nix
sternenseemann a110f08f12 ocamlPackages.extlib: rename from ocaml_extlib
This matches the name used in dune and on OPAM.
2022-11-16 14:30:37 +01:00

26 lines
648 B
Nix

{ lib, fetchFromGitHub, ocamlPackages, buildOasisPackage, ounit, 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 = [ 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 ];
};
}