squashfs: cleanup, update homepage
This commit is contained in:
parent
5d14b8fa53
commit
8796a2e176
|
@ -1,19 +1,22 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, zlib, xz
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, zlib
|
||||||
|
, xz
|
||||||
, lz4
|
, lz4
|
||||||
, lzo
|
, lzo
|
||||||
, zstd
|
, zstd
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
pname = "squashfs";
|
pname = "squashfs";
|
||||||
version = "4.4";
|
version = "4.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "plougher";
|
owner = "plougher";
|
||||||
repo = "squashfs-tools";
|
repo = "squashfs-tools";
|
||||||
|
rev = version;
|
||||||
sha256 = "0697fv8n6739mcyn57jclzwwbbqwpvjdfkv1qh9s56lvyqnplwaw";
|
sha256 = "0697fv8n6739mcyn57jclzwwbbqwpvjdfkv1qh9s56lvyqnplwaw";
|
||||||
# Tag "4.4" points to this commit.
|
|
||||||
rev = "52eb4c279cd283ed9802dd1ceb686560b22ffb67";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -28,17 +31,24 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
buildInputs = [ zlib xz zstd lz4 lzo ];
|
buildInputs = [ zlib xz zstd lz4 lzo ];
|
||||||
|
|
||||||
preBuild = "cd squashfs-tools";
|
preBuild = ''
|
||||||
|
cd squashfs-tools
|
||||||
|
'' ;
|
||||||
|
|
||||||
installFlags = [ "INSTALL_DIR=\${out}/bin" ];
|
installFlags = [ "INSTALL_DIR=${placeholder "out"}/bin" ];
|
||||||
|
|
||||||
makeFlags = [ "XZ_SUPPORT=1" "ZSTD_SUPPORT=1" "LZ4_SUPPORT=1" "LZO_SUPPORT=1"];
|
makeFlags = [
|
||||||
|
"XZ_SUPPORT=1"
|
||||||
|
"ZSTD_SUPPORT=1"
|
||||||
|
"LZ4_SUPPORT=1"
|
||||||
|
"LZO_SUPPORT=1"
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
homepage = "http://squashfs.sourceforge.net/";
|
homepage = "https://github.com/plougher/squashfs-tools";
|
||||||
description = "Tool for creating and unpacking squashfs filesystems";
|
description = "Tool for creating and unpacking squashfs filesystems";
|
||||||
platforms = lib.platforms.unix;
|
platforms = platforms.unix;
|
||||||
license = lib.licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with lib.maintainers; [ ruuda ];
|
maintainers = with maintainers; [ ruuda ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue