mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 06:05:13 +00:00
5c0f1eb426
Like all supported formats (I think), LZO is optional. I don't see any reason to bother with options for now, so I've just enabled it. Plus, there's a bug in this release that makes compilation fail if LZO is disabled due to a missing include. I've sent a fix[1] for that upstream. [1]: https://github.com/AgentD/squashfs-tools-ng/pull/41
25 lines
678 B
Nix
25 lines
678 B
Nix
{ stdenv, lib, fetchurl, doxygen, graphviz, perl, pkgconfig
|
|
, lz4, lzo, xz, zlib, zstd
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "squashfs-tools-ng";
|
|
version = "0.9";
|
|
|
|
src = fetchurl {
|
|
url = "https://infraroot.at/pub/squashfs/squashfs-tools-ng-${version}.tar.xz";
|
|
sha256 = "1jx6bga0k07cckpv0yk77kwql7rjiicf9wkbadc8yqhp463xn90q";
|
|
};
|
|
|
|
nativeBuildInputs = [ doxygen graphviz pkgconfig perl ];
|
|
buildInputs = [ zlib xz lz4 lzo zstd ];
|
|
|
|
meta = with lib; {
|
|
homepage = https://github.com/AgentD/squashfs-tools-ng;
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ qyliss ];
|
|
platforms = platforms.unix;
|
|
broken = stdenv.isDarwin;
|
|
};
|
|
}
|