1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

Merge pull request #13845 from grahamc/md5s-python

Upgrade md5 and sha1 to sha256 across Python
This commit is contained in:
Domen Kožar 2016-03-11 22:57:58 +00:00
commit 2f398c365f
7 changed files with 296 additions and 309 deletions

View file

@ -17,13 +17,13 @@ assert javahlBindings -> jdk != null && perl != null;
let
common = { version, sha1 }: stdenv.mkDerivation (rec {
common = { version, sha256 }: stdenv.mkDerivation (rec {
inherit version;
name = "subversion-${version}";
src = fetchurl {
url = "mirror://apache/subversion/${name}.tar.bz2";
inherit sha1;
inherit sha256;
};
buildInputs = [ zlib apr aprutil sqlite ]
@ -89,12 +89,12 @@ in {
subversion18 = common {
version = "1.8.15";
sha1 = "680acf88f0db978fbbeac89ed63776d805b918ef";
sha256 = "8bbf6bb125003d88ee1c22935a36b7b1ab7d957e0c8b5fbfe5cb6310b6e86ae0";
};
subversion19 = common {
version = "1.9.3";
sha1 = "27e8df191c92095f48314a415194ec37c682cbcf";
sha256 = "8bbf6bb125003d88ee1c22935a36b7b1ab7d957e0c8b5fbfe5cb6310b6e86ae0";
};
}

View file

@ -5,7 +5,7 @@ import ./generic.nix {
name = "docbook-xml-4.2";
src = fetchurl {
url = http://www.docbook.org/xml/4.2/docbook-xml-4.2.zip;
md5 = "73fe50dfe74ca631c1602f558ed8961f";
sha256 = "acc4601e4f97a196076b7e64b368d9248b07c7abf26b34a02cca40eeebe60fa2";
};
meta = {
branch = "4.2";

View file

@ -4,7 +4,7 @@ stdenv.mkDerivation {
name = "libungif-4.1.4";
src = fetchurl {
url = mirror://sourceforge/giflib/libungif-4.1.4.tar.gz;
md5 = "efdfcf8e32e35740288a8c5625a70ccb";
sha256 = "5e65e1e5deacd0cde489900dbf54c6c2ee2ebc818199e720dbad685d87abda3d";
};
}

View file

@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "http://xkbcommon.org/download/${name}.tar.xz";
sha1 = "z9dvxrkcyb4b7f2zybgkrqb9zcxrj9vi";
sha256 = "176ii5dn2wh74q48sd8ac37ljlvgvp5f506glr96z6ibfhj7igch";
};
buildInputs = [ pkgconfig yacc flex xkeyboard_config libxcb ];
@ -23,4 +23,3 @@ stdenv.mkDerivation rec {
homepage = http://xkbcommon.org;
};
}

View file

@ -3,11 +3,12 @@
stdenv.mkDerivation rec {
name = "pyblock-${version}";
version = "0.53";
md5_path = "f6d33a8362dee358517d0a9e2ebdd044";
src = fetchurl rec {
url = "http://pkgs.fedoraproject.org/repo/pkgs/python-pyblock/"
+ "${name}.tar.bz2/${md5}/${name}.tar.bz2";
md5 = "f6d33a8362dee358517d0a9e2ebdd044";
+ "${name}.tar.bz2/${md5_path}/${name}.tar.bz2";
sha256 = "f6cef88969300a6564498557eeea1d8da58acceae238077852ff261a2cb1d815";
};
postPatch = ''

View file

@ -3,11 +3,12 @@
buildPythonApplication rec {
name = "pykickstart-${version}";
version = "1.99.39";
md5_path = "d249f60aa89b1b4facd63f776925116d";
src = fetchurl rec {
url = "http://pkgs.fedoraproject.org/repo/pkgs/pykickstart/"
+ "${name}.tar.gz/${md5}/${name}.tar.gz";
md5 = "d249f60aa89b1b4facd63f776925116d";
+ "${name}.tar.gz/${md5_path}/${name}.tar.gz";
sha256 = "e0d0f98ac4c5607e6a48d5c1fba2d50cc804de1081043f9da68cbfc69cad957a";
};
postPatch = ''

File diff suppressed because it is too large Load diff