Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 38 lines 760 B view raw
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 fmt, 6 bigstringaf, 7 angstrom, 8 alcotest, 9}: 10 11buildDunePackage rec { 12 pname = "encore"; 13 version = "0.8"; 14 15 minimalOCamlVersion = "4.08"; 16 17 src = fetchurl { 18 url = "https://github.com/mirage/encore/releases/download/v${version}/encore-v${version}.tbz"; 19 sha256 = "a406bc9863b04bb424692045939d6c170a2bb65a98521ae5608d25b0559344f6"; 20 }; 21 22 duneVersion = "3"; 23 24 propagatedBuildInputs = [ 25 angstrom 26 fmt 27 bigstringaf 28 ]; 29 checkInputs = [ alcotest ]; 30 doCheck = true; 31 32 meta = { 33 homepage = "https://github.com/mirage/encore"; 34 description = "Library to generate encoder/decoder which ensure isomorphism"; 35 license = lib.licenses.mit; 36 maintainers = [ lib.maintainers.vbgl ]; 37 }; 38}