Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5 re, 6}: 7 8buildDunePackage rec { 9 pname = "calendar"; 10 version = "3.0.0"; 11 minimalOCamlVersion = "4.03"; 12 13 src = fetchFromGitHub { 14 owner = "ocaml-community"; 15 repo = pname; 16 rev = "v${version}"; 17 sha256 = "sha256-+VQzi6pEMqzV1ZR84Yjdu4jsJEWtx+7bd6PQGX7TiEs="; 18 }; 19 20 propagatedBuildInputs = [ re ]; 21 22 meta = { 23 inherit (src.meta) homepage; 24 description = "Library for handling dates and times"; 25 license = lib.licenses.lgpl21Plus; 26 maintainers = [ lib.maintainers.gal_bolle ]; 27 }; 28}