1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/tools/filesystems/squashfs/default.nix
2014-10-22 15:06:05 +02:00

28 lines
671 B
Nix

{ stdenv, fetchgit, zlib, xz }:
stdenv.mkDerivation rec {
name = "squashfs-4.4dev";
src = fetchgit {
url = https://github.com/plougher/squashfs-tools.git;
sha256 = "059pa2shdysr3zfmwrhq28s12zbi5nyzbpzyaf5lmspgfh1493ks";
rev = "9c1db6d13a51a2e009f0027ef336ce03624eac0d";
};
buildInputs = [ zlib xz ];
preBuild = "cd squashfs-tools";
NIX_LDFLAGS = "-lgcc_s"; # for pthread_cancel
installFlags = "INSTALL_DIR=\${out}/bin";
makeFlags = "XZ_SUPPORT=1";
meta = {
homepage = http://squashfs.sourceforge.net/;
description = "Tool for creating and unpacking squashfs filesystems";
platforms = stdenv.lib.platforms.linux;
};
}