2005-08-30 06:56:15 -07:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2010-08-03 03:55:58 -07:00
|
|
|
stdenv.mkDerivation {
|
2013-02-26 01:08:00 -08:00
|
|
|
name = "cpio-2.11";
|
2013-03-20 15:01:36 -07:00
|
|
|
|
2005-08-30 06:56:15 -07:00
|
|
|
src = fetchurl {
|
2013-02-20 01:20:07 -08:00
|
|
|
url = mirror://gnu/cpio/cpio-2.11.tar.bz2;
|
|
|
|
sha256 = "bb820bfd96e74fc6ce43104f06fe733178517e7f5d1cdee553773e8eff7d5bbd";
|
2005-08-30 06:56:15 -07:00
|
|
|
};
|
2009-02-12 11:04:44 -08:00
|
|
|
|
2014-01-28 04:36:35 -08:00
|
|
|
patches = [ ./no-gets.patch ] ++ stdenv.lib.optional stdenv.isDarwin ./darwin-fix.patch;
|
2013-03-20 15:01:36 -07:00
|
|
|
|
2009-02-12 11:04:44 -08:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.gnu.org/software/cpio/;
|
2010-08-03 03:55:58 -07:00
|
|
|
description = "A program to create or extract from cpio archives";
|
2014-01-28 04:36:35 -08:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2009-02-12 11:04:44 -08:00
|
|
|
};
|
2005-08-30 06:56:15 -07:00
|
|
|
}
|