depot/third_party/nixpkgs/pkgs/development/ocaml-modules/timedesc/default.nix
Default email 60f07311b9 Project import generated by Copybara.
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
2024-02-06 17:22:34 -08:00

36 lines
703 B
Nix

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