feat(ocaml/date_calc): update
This commit is contained in:
parent
c941b7b08c
commit
4304c2743b
1 changed files with 41 additions and 0 deletions
41
ocaml-pkgs/dates_calc.nix
Normal file
41
ocaml-pkgs/dates_calc.nix
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
fetchFromGitHub,
|
||||||
|
buildDunePackage,
|
||||||
|
alcotest,
|
||||||
|
qcheck,
|
||||||
|
python3,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildDunePackage rec {
|
||||||
|
pname = "dates_calc";
|
||||||
|
version = "0.0.7";
|
||||||
|
|
||||||
|
minimalOCamlVersion = "4.11";
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "catalalang";
|
||||||
|
repo = "dates-calc";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-MQpQZLXu+8Q9JLZ329KqO5O/qSO+4Tm7TDh0/OPJs0c=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ ];
|
||||||
|
nativeBuildInputs = [
|
||||||
|
python3
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
checkInputs = [
|
||||||
|
alcotest
|
||||||
|
qcheck
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Date calculation library";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
maintainers = [ lib.maintainers.niols ];
|
||||||
|
homepage = "https://github.com/catalalang/dates-calc";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue