2020-01-17 12:50:13 +00:00
|
|
|
{ stdenv, lib, fetchurl, doxygen, graphviz, perl, pkgconfig
|
2020-04-01 15:36:26 +01:00
|
|
|
, lz4, lzo, xz, zlib, zstd
|
2019-11-07 18:33:09 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "squashfs-tools-ng";
|
2020-08-17 12:43:27 +01:00
|
|
|
version = "1.0.1";
|
2019-11-07 18:33:09 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://infraroot.at/pub/squashfs/squashfs-tools-ng-${version}.tar.xz";
|
2020-08-17 12:43:27 +01:00
|
|
|
sha256 = "120x2hlbhpm90bzxz70z764552ffrjpidmp1y6gafx70zp0hrks4";
|
2019-11-07 18:33:09 +00:00
|
|
|
};
|
|
|
|
|
2020-01-17 12:50:13 +00:00
|
|
|
nativeBuildInputs = [ doxygen graphviz pkgconfig perl ];
|
2020-04-01 15:36:26 +01:00
|
|
|
buildInputs = [ zlib xz lz4 lzo zstd ];
|
2019-11-07 18:33:09 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01: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;
|
2020-01-17 12:50:13 +00:00
|
|
|
broken = stdenv.isDarwin;
|
2019-11-07 18:33:09 +00:00
|
|
|
};
|
|
|
|
}
|