Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 containers, 6}: 7 8buildDunePackage rec { 9 pname = "decoders"; 10 version = "1.0.0"; 11 12 minimalOCamlVersion = "4.03.0"; 13 14 src = fetchurl { 15 url = "https://github.com/mattjbray/ocaml-decoders/releases/download/v${version}/${pname}-${version}.tbz"; 16 hash = "sha256-R/55xBAtD3EO/zzq7zExANnfPHlFg00884o5dCpXNZc="; 17 }; 18 19 doCheck = true; 20 checkInputs = [ 21 containers 22 ]; 23 24 meta = { 25 description = "Elm-inspired decoders for Ocaml"; 26 homepage = "https://github.com/mattjbray/ocaml-decoders"; 27 changelog = "https://github.com/mattjbray/ocaml-decoders/blob/${version}/CHANGES.md"; 28 license = lib.licenses.isc; 29 maintainers = with lib.maintainers; [ infinidoge ]; 30 }; 31}