mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
fea2d56f09
svn path=/nixpkgs/trunk/; revision=23986
26 lines
551 B
Nix
26 lines
551 B
Nix
{stdenv, fetchurl, zlib, attr}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "squashfs-4.1";
|
|
|
|
src = fetchurl {
|
|
url = mirror://sourceforge/squashfs/squashfs4.1.tar.gz;
|
|
sha256 = "0sh40r7gz81fg7ivgr7rld8spvqb6hsfvnf6gd3gbcr5b830v1rs";
|
|
};
|
|
|
|
buildInputs = [zlib attr];
|
|
|
|
preBuild = ''
|
|
cd squashfs-tools
|
|
'';
|
|
|
|
NIX_LDFLAGS = "-lgcc_s"; # for pthread_cancel
|
|
|
|
installFlags = "INSTALL_DIR=\${out}/bin";
|
|
|
|
meta = {
|
|
homepage = http://squashfs.sourceforge.net/;
|
|
description = "Tool for creating and unpacking squashfs filesystems";
|
|
};
|
|
}
|