diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-03-03 15:05:04 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-03-03 18:08:02 +0100 |
commit | 8796a2e176a871ecf993283e15ce888d1131104d (patch) | |
tree | 650f7661e4c34b684254d1f633a14c4ff464985d /pkgs/tools/filesystems/squashfs/default.nix | |
parent | 5d14b8fa53155430e75deae19cf94c4532c1d052 (diff) | |
download | nixpkgs-8796a2e176a871ecf993283e15ce888d1131104d.tar nixpkgs-8796a2e176a871ecf993283e15ce888d1131104d.tar.gz nixpkgs-8796a2e176a871ecf993283e15ce888d1131104d.tar.bz2 nixpkgs-8796a2e176a871ecf993283e15ce888d1131104d.tar.lz nixpkgs-8796a2e176a871ecf993283e15ce888d1131104d.tar.xz nixpkgs-8796a2e176a871ecf993283e15ce888d1131104d.tar.zst nixpkgs-8796a2e176a871ecf993283e15ce888d1131104d.zip |
squashfs: cleanup, update homepage
Diffstat (limited to 'pkgs/tools/filesystems/squashfs/default.nix')
-rw-r--r-- | pkgs/tools/filesystems/squashfs/default.nix | 34 |
1 files changed, 22 insertions, 12 deletions
diff --git a/pkgs/tools/filesystems/squashfs/default.nix b/pkgs/tools/filesystems/squashfs/default.nix index 3c38341554a..cddb1722584 100644 --- a/pkgs/tools/filesystems/squashfs/default.nix +++ b/pkgs/tools/filesystems/squashfs/default.nix @@ -1,19 +1,22 @@ -{ lib, stdenv, fetchFromGitHub, zlib, xz +{ lib +, stdenv +, fetchFromGitHub +, zlib +, xz , lz4 , lzo , zstd }: -stdenv.mkDerivation { +stdenv.mkDerivation rec { pname = "squashfs"; version = "4.4"; src = fetchFromGitHub { owner = "plougher"; repo = "squashfs-tools"; + rev = version; sha256 = "0697fv8n6739mcyn57jclzwwbbqwpvjdfkv1qh9s56lvyqnplwaw"; - # Tag "4.4" points to this commit. - rev = "52eb4c279cd283ed9802dd1ceb686560b22ffb67"; }; patches = [ @@ -28,17 +31,24 @@ stdenv.mkDerivation { buildInputs = [ zlib xz zstd lz4 lzo ]; - preBuild = "cd squashfs-tools"; + preBuild = '' + cd squashfs-tools + '' ; - installFlags = [ "INSTALL_DIR=\${out}/bin" ]; + installFlags = [ "INSTALL_DIR=${placeholder "out"}/bin" ]; - makeFlags = [ "XZ_SUPPORT=1" "ZSTD_SUPPORT=1" "LZ4_SUPPORT=1" "LZO_SUPPORT=1"]; + makeFlags = [ + "XZ_SUPPORT=1" + "ZSTD_SUPPORT=1" + "LZ4_SUPPORT=1" + "LZO_SUPPORT=1" + ]; - meta = { - homepage = "http://squashfs.sourceforge.net/"; + meta = with lib; { + homepage = "https://github.com/plougher/squashfs-tools"; description = "Tool for creating and unpacking squashfs filesystems"; - platforms = lib.platforms.unix; - license = lib.licenses.gpl2Plus; - maintainers = with lib.maintainers; [ ruuda ]; + platforms = platforms.unix; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ ruuda ]; }; } |