2005-08-30 15:56:15 +02:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-11-19 18:39:19 +01:00
|
|
|
name = "cpio-2.9";
|
2009-02-12 20:04:44 +01:00
|
|
|
|
2005-08-30 15:56:15 +02:00
|
|
|
src = fetchurl {
|
2007-11-19 18:39:19 +01:00
|
|
|
url = mirror://gnu/cpio/cpio-2.9.tar.bz2;
|
|
|
|
sha256 = "01s7f9hg8kgpis96j99hgkiqgdy53pm7qi7bhm3fzx58jfk5z6mv";
|
2005-08-30 15:56:15 +02:00
|
|
|
};
|
2009-02-12 20:04:44 +01:00
|
|
|
|
|
|
|
patches = [
|
|
|
|
# Make it compile on GCC 4.3.
|
|
|
|
(fetchurl {
|
2009-05-08 19:00:08 +02:00
|
|
|
name = "cpio-2.9-gnu-inline.patch";
|
2009-02-12 20:04:44 +01:00
|
|
|
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";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.gnu.org/software/cpio/;
|
|
|
|
description = "A program to create or extract from cpio archives";
|
|
|
|
};
|
2005-08-30 15:56:15 +02:00
|
|
|
}
|