diff options
author | Alyssa Ross <hi@alyssa.is> | 2019-11-07 18:33:09 +0000 |
---|---|---|
committer | Lassulus <github@lassul.us> | 2019-11-17 23:46:16 +0100 |
commit | 6955816811a816facee685bbe39e6f3d1792ae99 (patch) | |
tree | 34c3b1c9da8d2f6edbf98b7529cdb3b646c811ce /pkgs/tools/filesystems/squashfs-tools-ng/default.nix | |
parent | 431038aa26826f5fd1582f828eba06f7ed370f46 (diff) | |
download | nixpkgs-6955816811a816facee685bbe39e6f3d1792ae99.tar nixpkgs-6955816811a816facee685bbe39e6f3d1792ae99.tar.gz nixpkgs-6955816811a816facee685bbe39e6f3d1792ae99.tar.bz2 nixpkgs-6955816811a816facee685bbe39e6f3d1792ae99.tar.lz nixpkgs-6955816811a816facee685bbe39e6f3d1792ae99.tar.xz nixpkgs-6955816811a816facee685bbe39e6f3d1792ae99.tar.zst nixpkgs-6955816811a816facee685bbe39e6f3d1792ae99.zip |
squashfs-tools-ng: init at 0.7
Diffstat (limited to 'pkgs/tools/filesystems/squashfs-tools-ng/default.nix')
-rw-r--r-- | pkgs/tools/filesystems/squashfs-tools-ng/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/squashfs-tools-ng/default.nix b/pkgs/tools/filesystems/squashfs-tools-ng/default.nix new file mode 100644 index 00000000000..727e257a486 --- /dev/null +++ b/pkgs/tools/filesystems/squashfs-tools-ng/default.nix @@ -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; + }; +} |