2005-08-30 14:56:15 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2010-08-03 11:55:58 +01:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "cpio-2.9";
|
|
|
|
|
2005-08-30 14:56:15 +01:00
|
|
|
src = fetchurl {
|
2013-02-20 09:20:07 +00:00
|
|
|
url = mirror://gnu/cpio/cpio-2.11.tar.bz2;
|
|
|
|
sha256 = "bb820bfd96e74fc6ce43104f06fe733178517e7f5d1cdee553773e8eff7d5bbd";
|
2005-08-30 14:56:15 +01:00
|
|
|
};
|
2009-02-12 19:04:44 +00:00
|
|
|
|
2010-08-03 11:55:58 +01:00
|
|
|
patches = [
|
|
|
|
# Make it compile on GCC 4.3.
|
|
|
|
(fetchurl {
|
|
|
|
name = "cpio-2.9-gnu-inline.patch";
|
|
|
|
url = "http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/app-arch/cpio/files/cpio-2.9-gnu-inline.patch?rev=1.1";
|
|
|
|
sha256 = "1167hrq64h9lh3qhgasm2rivfzkkgx6fik92b017qfa0q61ff8c3";
|
|
|
|
})
|
|
|
|
];
|
2009-02-12 19:04:44 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.gnu.org/software/cpio/;
|
2010-08-03 11:55:58 +01:00
|
|
|
description = "A program to create or extract from cpio archives";
|
2009-02-12 19:04:44 +00:00
|
|
|
};
|
2005-08-30 14:56:15 +01:00
|
|
|
}
|