Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 28 lines 671 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildDunePackage, 5 stdlib-shims, 6}: 7 8buildDunePackage rec { 9 pname = "integers"; 10 version = "0.7.0"; 11 12 src = fetchFromGitHub { 13 owner = "ocamllabs"; 14 repo = "ocaml-integers"; 15 rev = version; 16 sha256 = "sha256-zuUgP1jOiVT0q6GisGpkqx7nybWbARgnAcU8NYqvCzA="; 17 }; 18 19 propagatedBuildInputs = [ stdlib-shims ]; 20 21 meta = { 22 description = "Various signed and unsigned integer types for OCaml"; 23 license = lib.licenses.mit; 24 homepage = "https://github.com/ocamllabs/ocaml-integers"; 25 changelog = "https://github.com/ocamllabs/ocaml-integers/raw/${version}/CHANGES.md"; 26 maintainers = [ lib.maintainers.vbgl ]; 27 }; 28}