nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 855 B view raw
1{ 2 angstrom, 3 buildDunePackage, 4 fetchurl, 5 findlib, 6 lib, 7 ocaml, 8 re, 9}: 10 11buildDunePackage rec { 12 pname = "uuuu"; 13 version = "0.3.0"; 14 15 src = fetchurl { 16 url = "https://github.com/mirage/uuuu/releases/download/v${version}/uuuu-${version}.tbz"; 17 sha256 = "sha256:19n39yc7spgzpk9i70r0nhkwsb0bfbvbgpf8d863p0a3wgryhzkb"; 18 }; 19 20 postPatch = '' 21 substituteInPlace src/dune --replace 'ocaml} ' \ 22 'ocaml} -I ${findlib}/lib/ocaml/${ocaml.version}/site-lib ' 23 ''; 24 25 nativeBuildInputs = [ findlib ]; 26 27 buildInputs = [ angstrom ]; 28 29 checkInputs = [ re ]; 30 doCheck = true; 31 32 duneVersion = "3"; 33 34 meta = { 35 description = "Library to normalize an ISO-8859 input to Unicode code-point"; 36 homepage = "https://github.com/mirage/uuuu"; 37 license = lib.licenses.mit; 38 maintainers = [ ]; 39 mainProgram = "uuuu.generate"; 40 }; 41}