mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
squashfs: 4.3 -> 4.4, hopefully fixes http://hydra.nixos.org/build/16422733
This commit is contained in:
parent
b31ac058cc
commit
b3a4c3c2d0
|
@ -1,19 +1,18 @@
|
|||
{ stdenv, fetchurl, zlib, xz }:
|
||||
{ stdenv, fetchgit, zlib, xz }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "squashfs-4.3";
|
||||
name = "squashfs-4.4dev";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/squashfs/squashfs4.3.tar.gz;
|
||||
sha256 = "1xpklm0y43nd9i6jw43y2xh5zvlmj9ar2rvknh0bh7kv8c95aq0d";
|
||||
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";
|
||||
|
@ -21,5 +20,6 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
homepage = http://squashfs.sourceforge.net/;
|
||||
description = "Tool for creating and unpacking squashfs filesystems";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue