lol

ocamlPackages.uunf: 15.0.0 → 15.1.0

+7 -5
+7 -5
pkgs/development/ocaml-modules/uunf/default.nix
··· 1 - { lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, uchar, uutf, cmdliner 1 + { lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, uutf, cmdliner 2 2 , cmdlinerSupport ? lib.versionAtLeast cmdliner.version "1.1" 3 + , version ? if lib.versionAtLeast ocaml.version "4.14" then "15.1.0" else "15.0.0" 3 4 }: 4 5 5 6 let 6 7 pname = "uunf"; 7 8 webpage = "https://erratique.ch/software/${pname}"; 8 - version = "15.0.0"; 9 + hash = { 10 + "15.0.0" = "sha256-B/prPAwfqS8ZPS3fyDDIzXWRbKofwOCyCfwvh9veuug="; 11 + "15.1.0" = "sha256-D8yvb7hVWaYxMqMZ5089/5tWDfvyGXKUOjhfU/4zSeQ="; 12 + }."${version}"; 9 13 in 10 14 11 15 if lib.versionOlder ocaml.version "4.03" ··· 18 22 19 23 src = fetchurl { 20 24 url = "${webpage}/releases/${pname}-${version}.tbz"; 21 - sha256 = "sha256-B/prPAwfqS8ZPS3fyDDIzXWRbKofwOCyCfwvh9veuug="; 25 + inherit hash; 22 26 }; 23 27 24 28 nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ]; 25 29 buildInputs = [ topkg uutf ] 26 30 ++ lib.optional cmdlinerSupport cmdliner; 27 - 28 - propagatedBuildInputs = [ uchar ]; 29 31 30 32 strictDeps = true; 31 33