Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 39 lines 717 B view raw
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5 fmt, 6 lwt, 7 optint, 8 ptime, 9 alcotest, 10}: 11 12buildDunePackage rec { 13 pname = "mirage-kv"; 14 version = "6.1.1"; 15 16 minimalOCamlVersion = "4.08"; 17 18 src = fetchurl { 19 url = "https://github.com/mirage/mirage-kv/releases/download/v${version}/mirage-kv-${version}.tbz"; 20 hash = "sha256-fNXNlaDpb5zUA2rTwi5h1j4v4LQmovxG+Am6u+1guPQ="; 21 }; 22 23 propagatedBuildInputs = [ 24 fmt 25 lwt 26 optint 27 ptime 28 ]; 29 30 doCheck = true; 31 checkInputs = [ alcotest ]; 32 33 meta = { 34 description = "MirageOS signatures for key/value devices"; 35 homepage = "https://github.com/mirage/mirage-kv"; 36 license = lib.licenses.isc; 37 maintainers = [ lib.maintainers.vbgl ]; 38 }; 39}