Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 30 lines 676 B view raw
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5 liquidsoap, 6}: 7 8buildDunePackage rec { 9 pname = "csexp"; 10 version = "1.5.2"; 11 12 src = fetchurl { 13 url = "https://github.com/ocaml-dune/csexp/releases/download/${version}/csexp-${version}.tbz"; 14 hash = "sha256-GhTdBLtDeaQZkCSFUGKMd5E6nAfzw1wTcLaWDml3h/8="; 15 }; 16 17 minimalOCamlVersion = "4.03"; 18 19 passthru.tests = { 20 inherit liquidsoap; 21 }; 22 23 meta = with lib; { 24 description = "Minimal support for Canonical S-expressions"; 25 homepage = "https://github.com/ocaml-dune/csexp"; 26 changelog = "https://github.com/ocaml-dune/csexp/raw/${version}/CHANGES.md"; 27 license = licenses.mit; 28 maintainers = [ ]; 29 }; 30}