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-04-01 15:36:26 +01:00
|
|
|
version = "0.9";
|
2019-11-07 18:33:09 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://infraroot.at/pub/squashfs/squashfs-tools-ng-${version}.tar.xz";
|
2020-04-01 15:36:26 +01:00
|
|
|
sha256 = "1jx6bga0k07cckpv0yk77kwql7rjiicf9wkbadc8yqhp463xn90q";
|
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; {
|
|
|
|
homepage = https://github.com/AgentD/squashfs-tools-ng;
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|