Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchzip, 5}: 6 7buildDunePackage rec { 8 pname = "hc"; 9 version = "0.5"; 10 11 minimalOCamlVersion = "4.12"; 12 13 # upstream git server is misconfigured and cannot be cloned 14 src = fetchzip { 15 url = "https://git.zapashcanon.fr/zapashcanon/hc/archive/${version}.tar.gz"; 16 hash = "sha256-oTomFi+e9aCgVpZ9EkxQ/dZz18cW2UcaV0ZIokeBoU0="; 17 }; 18 19 doCheck = true; 20 21 meta = { 22 description = "Library for hash consing"; 23 homepage = "https://ocaml.org/p/hc/"; 24 downloadPage = "https://git.zapashcanon.fr/zapashcanon/hc"; 25 changelog = "https://git.zapashcanon.fr/zapashcanon/hc/src/tag/${version}/CHANGES.md"; 26 license = lib.licenses.isc; 27 maintainers = [ lib.maintainers.ethancedwards8 ]; 28 }; 29}