git.iko.soy/typeable/nixpkgs
on master help sign in
sasquatch: 4.3 -> 4.4
commite319d520dda15d8ac5fdb1a84ac1c742abeb2df4 authorCole Helbling <cole.e.helbling@outlook.com> dateSat 17 Apr 2021, 19:35 (6 years ago) parent294d192
1 file changed+27−18
pkgs/tools/filesystems/sasquatch/default.nix+27−18
pkgs/tools/filesystems/sasquatch/default.nix+27−18
@@ -1,34 +1,43 @@
1−{ fetchFromGitHub
1+{ lib
2+, stdenv
3+, fetchFromGitHub
24, fetchurl
3−, lz4 ? null
4−, lz4Support ? false
5−, lzo
6−, lib, stdenv
75, xz
6+, lzo
87, zlib
8+, zstd
9+, lz4
10+, lz4Support ? false
911}:
1012
11−assert lz4Support -> (lz4 != null);
12−
1313let
14− patch = fetchFromGitHub {
15− owner = "devttys0";
16− repo = "sasquatch";
17− rev = "3e0cc40fc6dbe32bd3a5e6c553b3320d5d91ceed";
18− sha256 = "19lhndjv7v9w6nmszry63zh5rqii9v7wvsbpc2n6q606hyz955g2";
19− } + "/patches/patch0.txt";
14+ patch = fetchFromGitHub
15+ {
16+ # NOTE: This uses my personal fork for now, until
17+ # https://github.com/devttys0/sasquatch/pull/40 is merged.
18+ # I, cole-h, will keep this fork available until that happens.
19+ owner = "cole-h";
20+ repo = "sasquatch";
21+ rev = "6edc54705454c6410469a9cb5bc58e412779731a";
22+ sha256 = "x+PuPYGD4Pd0fcJtlLWByGy/nggsmZkxwSXxJfPvUgo=";
23+ } + "/patches/patch0.txt";
2024in
2125stdenv.mkDerivation rec {
2226 pname = "sasquatch";
23− version = "4.3";
27+ version = "4.4";
2428
2529 src = fetchurl {
26− url = "mirror://sourceforge/squashfs/squashfs4.3.tar.gz";
27− sha256 = "1xpklm0y43nd9i6jw43y2xh5zvlmj9ar2rvknh0bh7kv8c95aq0d";
30+ url = "mirror://sourceforge/squashfs/squashfs${version}.tar.gz";
31+ sha256 = "qYGz8/IFS1ouZYhRo8BqJGCtBKmopkXgr+Bjpj/bsH4=";
2832 };
2933
30− buildInputs = [ xz lzo xz zlib ]
31− ++ lib.optional lz4Support lz4;
34+ buildInputs = [
35+ xz
36+ lzo
37+ zlib
38+ zstd
39+ ]
40+ ++ lib.optionals lz4Support [ lz4 ];
3241
3342 patches = [ patch ];
3443 patchFlags = [ "-p0" ];