mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
34 lines
658 B
Nix
34 lines
658 B
Nix
{ 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";
|
|
};
|
|
}
|