nixpkgs/pkgs/development/ocaml-modules/timedesc/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
703 B
Nix
Raw Normal View History

2024-01-26 13:50:19 +00:00
{ lib
, fetchurl
, buildDunePackage
, angstrom
, ptime
, seq
, timedesc-tzdb
, timedesc-tzlocal
}:
buildDunePackage rec {
pname = "timedesc";
2024-07-24 00:40:33 +00:00
version = "3.1.0";
2024-01-26 13:50:19 +00:00
src = fetchurl {
url = "https://github.com/daypack-dev/timere/releases/download/timedesc-${version}/timedesc-${version}.tar.gz";
2024-07-24 00:40:33 +00:00
hash = "sha256-nEachJymJC8TP/Ha2rOFU3n09rxVlIZYmgQnYiNCiHE=";
2024-01-26 13:50:19 +00:00
};
sourceRoot = ".";
propagatedBuildInputs = [
angstrom
ptime
seq
timedesc-tzdb
timedesc-tzlocal
];
meta = {
description = "OCaml date time handling library";
homepage = "https://github.com/daypack-dev/timere";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}