2014-10-22 14:36:56 +02:00
|
|
|
{ stdenv, fetchgit, zlib, xz }:
|
2006-09-08 17:19:43 +02:00
|
|
|
|
2009-06-05 15:52:24 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2014-10-22 14:36:56 +02:00
|
|
|
name = "squashfs-4.4dev";
|
2009-04-23 15:31:10 +02:00
|
|
|
|
2014-10-22 14:36:56 +02:00
|
|
|
src = fetchgit {
|
|
|
|
url = https://github.com/plougher/squashfs-tools.git;
|
|
|
|
sha256 = "059pa2shdysr3zfmwrhq28s12zbi5nyzbpzyaf5lmspgfh1493ks";
|
|
|
|
rev = "9c1db6d13a51a2e009f0027ef336ce03624eac0d";
|
2006-09-08 17:19:43 +02:00
|
|
|
};
|
2013-04-12 15:25:53 +02:00
|
|
|
|
2012-01-20 18:43:50 +01:00
|
|
|
buildInputs = [ zlib xz ];
|
2009-04-23 15:31:10 +02:00
|
|
|
|
2012-01-20 18:43:50 +01:00
|
|
|
preBuild = "cd squashfs-tools";
|
2013-04-12 15:25:53 +02:00
|
|
|
|
2009-06-05 15:52:24 +02:00
|
|
|
installFlags = "INSTALL_DIR=\${out}/bin";
|
2013-04-12 15:25:53 +02:00
|
|
|
|
2011-01-17 20:41:05 +01:00
|
|
|
makeFlags = "XZ_SUPPORT=1";
|
2013-04-12 15:25:53 +02:00
|
|
|
|
2009-06-05 15:52:24 +02:00
|
|
|
meta = {
|
|
|
|
homepage = http://squashfs.sourceforge.net/;
|
|
|
|
description = "Tool for creating and unpacking squashfs filesystems";
|
2014-10-22 14:36:56 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-06-05 15:52:24 +02:00
|
|
|
};
|
2006-09-08 17:19:43 +02:00
|
|
|
}
|