ocamlPackages.duration: 0.2.1 -> 0.3.1
This commit is contained in:
committed by
Vincent Laporte
parent
0ff145c6d9
commit
00a033102d
@@ -1,23 +1,20 @@
|
||||
{
|
||||
lib,
|
||||
buildDunePackage,
|
||||
ocaml,
|
||||
fetchurl,
|
||||
alcotest,
|
||||
}:
|
||||
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "duration";
|
||||
version = "0.2.1";
|
||||
|
||||
duneVersion = "3";
|
||||
version = "0.3.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/hannesm/duration/releases/download/v${finalAttrs.version}/duration-${finalAttrs.version}.tbz";
|
||||
hash = "sha256-xzjB84z7mYIMEhzT3fgZ3ksiKPDVDqy9HMPOmefHHis=";
|
||||
hash = "sha256-zYjaaTlR4SEuqD4kzhf3Z+laOanOKt2gZUsy11zmjBM=";
|
||||
};
|
||||
|
||||
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||
doCheck = true;
|
||||
checkInputs = [ alcotest ];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user