depot/pkgs/development/ocaml-modules/timedesc/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

36 lines
703 B
Nix

{ lib
, fetchurl
, buildDunePackage
, angstrom
, ptime
, seq
, timedesc-tzdb
, timedesc-tzlocal
}:
buildDunePackage rec {
pname = "timedesc";
version = "3.1.0";
src = fetchurl {
url = "https://github.com/daypack-dev/timere/releases/download/timedesc-${version}/timedesc-${version}.tar.gz";
hash = "sha256-nEachJymJC8TP/Ha2rOFU3n09rxVlIZYmgQnYiNCiHE=";
};
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 ];
};
}