2021-01-17 09:17:16 +00:00
|
|
|
{ stdenv, lib, fetchurl, doxygen, graphviz, perl, pkg-config
|
2021-05-12 16:43:21 +00:00
|
|
|
, bzip2, lz4, lzo, xz, zlib, zstd
|
2019-11-07 18:33:09 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "squashfs-tools-ng";
|
2023-01-08 05:27:18 +00:00
|
|
|
version = "1.2.0";
|
2019-11-07 18:33:09 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://infraroot.at/pub/squashfs/squashfs-tools-ng-${version}.tar.xz";
|
2023-01-08 05:27:18 +00:00
|
|
|
sha256 = "sha256-1zYHYJXVhJdWQKeM0VVM4VzL3r3XPXebfR7IAEgyt+c=";
|
2019-11-07 18:33:09 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ doxygen graphviz pkg-config perl ];
|
2021-05-12 16:43:21 +00:00
|
|
|
buildInputs = [ bzip2 zlib xz lz4 lzo zstd ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2019-11-07 18:33:09 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/AgentD/squashfs-tools-ng";
|
2019-11-07 18:33:09 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ qyliss ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|