ocamlPackages.dates_calc: init at 0.0.4
This commit is contained in:
parent
f00994e78c
commit
de9b7f2e5d
2 changed files with 35 additions and 0 deletions
33
pkgs/development/ocaml-modules/dates_calc/default.nix
Normal file
33
pkgs/development/ocaml-modules/dates_calc/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib, fetchFromGitHub, buildDunePackage
|
||||
, alcotest, qcheck
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "dates_calc";
|
||||
version = "0.0.4";
|
||||
|
||||
minimalOCamlVersion = "4.11";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "catalalang";
|
||||
repo = "dates-calc";
|
||||
rev = version;
|
||||
sha256 = "sha256-tpKOoPVXkg/k+NW5R8A4fGAKhdMn9UcqMogCjafJuw4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [
|
||||
alcotest
|
||||
qcheck
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "A date calculation library";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.niols ];
|
||||
homepage = "https://github.com/catalalang/dates-calc";
|
||||
};
|
||||
}
|
|
@ -289,6 +289,8 @@ let
|
|||
|
||||
data-encoding = callPackage ../development/ocaml-modules/data-encoding { };
|
||||
|
||||
dates_calc = callPackage ../development/ocaml-modules/dates_calc { };
|
||||
|
||||
dbf = callPackage ../development/ocaml-modules/dbf { };
|
||||
|
||||
decompress = callPackage ../development/ocaml-modules/decompress { };
|
||||
|
|
Loading…
Reference in a new issue