squashfs-tools-ng: init at 0.7

This commit is contained in:
Alyssa Ross
2019-11-17 23:46:16 +01:00
committed by Lassulus
parent 431038aa26
commit 6955816811
3 changed files with 131 additions and 0 deletions
@@ -0,0 +1,26 @@
{ stdenv, lib, fetchurl, fetchpatch, autoreconfHook, doxygen, graphviz, perl
, pkgconfig, lz4, xz, zlib, zstd
}:
stdenv.mkDerivation rec {
pname = "squashfs-tools-ng";
version = "0.7";
src = fetchurl {
url = "https://infraroot.at/pub/squashfs/squashfs-tools-ng-${version}.tar.xz";
sha256 = "01yn621dnsfhrah3qj1xh6ynag7r3nvihc510sa5frapkyg9nw8n";
};
patches = lib.optional (!stdenv.isLinux) ./0001-Fix-build-on-BSD-systems.patch;
nativeBuildInputs = [ doxygen graphviz pkgconfig perl ]
++ lib.optional (!stdenv.isLinux) autoreconfHook;
buildInputs = [ zlib xz lz4 zstd ];
meta = with lib; {
homepage = https://github.com/AgentD/squashfs-tools-ng;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ qyliss ];
platforms = platforms.unix;
};
}