mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
24 lines
554 B
Nix
24 lines
554 B
Nix
{ lib, buildDunePackage, fetchFromGitHub, re }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "calendar";
|
|
version = "3.0.0";
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ocaml-community";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-+VQzi6pEMqzV1ZR84Yjdu4jsJEWtx+7bd6PQGX7TiEs=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ re ];
|
|
|
|
meta = {
|
|
inherit (src.meta) homepage;
|
|
description = "Library for handling dates and times";
|
|
license = lib.licenses.lgpl21Plus;
|
|
maintainers = [ lib.maintainers.gal_bolle ];
|
|
};
|
|
}
|