fetch-*: remove md5 support

fixes #4491
This commit is contained in:
Robin Gloster
2017-03-20 22:23:41 +01:00
parent 1c3308e9c1
commit f57185db95
8 changed files with 44 additions and 24 deletions
+4 -1
View File
@@ -8,9 +8,12 @@ attrs @
, md5 ? ""
, ...
}:
if md5 != "" then
throw "fetchnuget does not support md5 anymore, please use sha256"
else
buildDotnetPackage ({
src = fetchurl {
inherit url sha256 md5;
inherit url sha256;
name = "${baseName}.${version}.zip";
};