Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
752 B · 40 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, fetchurl, buildDunePackage, fmt, alcotest, hxd, crowbar, bigstringaf,}:
buildDunePackage rec { pname = "duff"; version = "0.5";
minimalOCamlVersion = "4.08"; duneVersion = "3";
src = fetchurl { url = "https://github.com/mirage/duff/releases/download/v${version}/duff-${version}.tbz"; sha256 = "sha256-+UU89Ko7aFDv6MxvE/BT6+XyER+vF3zqv7sD5dmtbt4="; };
propagatedBuildInputs = [ fmt ];
doCheck = true; checkInputs = [ alcotest crowbar hxd bigstringaf ];
meta = { description = "Pure OCaml implementation of libXdiff (Rabin’s fingerprint)"; homepage = "https://github.com/mirage/duff"; license = lib.licenses.mit; maintainers = [ lib.maintainers.vbgl ]; };}