Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 48 lines 793 B view raw
1{ alcotest 2, angstrom 3, bigstringaf 4, buildDunePackage 5, crowbar 6, fetchzip 7, fmt 8, hxd 9, ke 10, lib 11, rresult 12, uutf 13}: 14 15buildDunePackage rec { 16 pname = "unstrctrd"; 17 version = "0.3"; 18 19 src = fetchzip { 20 url = "https://github.com/dinosaure/unstrctrd/releases/download/v${version}/unstrctrd-v${version}.tbz"; 21 sha256 = "0mjm4v7kk75iwwsfnpmxc3bsl8aisz53y7z21sykdp60f4rxnah7"; 22 }; 23 24 duneVersion = "3"; 25 26 propagatedBuildInputs = [ 27 angstrom 28 uutf 29 ]; 30 31 checkInputs = [ 32 alcotest 33 bigstringaf 34 crowbar 35 fmt 36 hxd 37 ke 38 rresult 39 ]; 40 doCheck = true; 41 42 meta = { 43 description = "A library for parsing email headers"; 44 homepage = "https://github.com/dinosaure/unstrctrd"; 45 license = lib.licenses.mit; 46 maintainers = with lib.maintainers; [ ]; 47 }; 48}