nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at flake-libs 27 lines 519 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildDunePackage, 5}: 6 7buildDunePackage rec { 8 pname = "hashcons"; 9 version = "1.4"; 10 11 src = fetchFromGitHub { 12 owner = "backtracking"; 13 repo = "ocaml-${pname}"; 14 rev = "d733325eeb55878bed285120c2c088daf78f0e2b"; 15 sha256 = "0h4pvwj34pndaw3pajkhl710ywwinhc9pqimgllfmkl37wz2d8zq"; 16 }; 17 18 useDune2 = true; 19 20 doCheck = true; 21 22 meta = { 23 description = "OCaml hash-consing library"; 24 license = lib.licenses.lgpl21; 25 maintainers = [ lib.maintainers.ulrikstrid ]; 26 }; 27}