2006-09-08 17:19:43 +02:00
|
|
|
{stdenv, fetchurl, zlib}:
|
|
|
|
|
2009-06-05 15:52:24 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "squashfs-4.0";
|
2009-04-23 15:31:10 +02:00
|
|
|
|
2006-09-08 17:19:43 +02:00
|
|
|
src = fetchurl {
|
2009-06-05 15:52:24 +02:00
|
|
|
url = mirror://sourceforge/squashfs/squashfs4.0.tar.gz;
|
|
|
|
sha256 = "089fw543fx2d3dadszjv5swf8hr6jvxrpagf0x1jrb3bw3dqx50q";
|
2006-09-08 17:19:43 +02:00
|
|
|
};
|
2009-04-23 15:31:10 +02:00
|
|
|
|
2006-09-08 17:19:43 +02:00
|
|
|
buildInputs = [zlib];
|
2009-04-23 15:31:10 +02:00
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
cd squashfs-tools
|
|
|
|
'';
|
|
|
|
|
2009-06-05 15:52:24 +02:00
|
|
|
installFlags = "INSTALL_DIR=\${out}/bin";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://squashfs.sourceforge.net/;
|
|
|
|
description = "Tool for creating and unpacking squashfs filesystems";
|
|
|
|
};
|
2006-09-08 17:19:43 +02:00
|
|
|
}
|