aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/tools/filesystems/squashfuse/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/tools/filesystems/squashfuse/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/tools/filesystems/squashfuse/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/tools/filesystems/squashfuse/default.nix b/infra/libkookie/nixpkgs/pkgs/tools/filesystems/squashfuse/default.nix
new file mode 100644
index 000000000000..9f9c4a605c6a
--- /dev/null
+++ b/infra/libkookie/nixpkgs/pkgs/tools/filesystems/squashfuse/default.nix
@@ -0,0 +1,32 @@
+{ stdenv, fetchFromGitHub, autoreconfHook, libtool, fuse,
+ pkgconfig, lz4, xz, zlib, lzo, zstd }:
+
+with stdenv.lib;
+
+stdenv.mkDerivation rec {
+
+ pname = "squashfuse";
+ version = "0.1.103";
+
+ # platforms.darwin should be supported : see PLATFORMS file in src.
+ # we could use a nix fuseProvider, and let the derivation choose the OS
+ # specific implementation.
+
+ src = fetchFromGitHub {
+ owner = "vasi";
+ repo = pname;
+ rev = "540204955134eee44201d50132a5f66a246bcfaf";
+ sha256 = "062s77y32p80vc24a79z31g90b9wxzvws1xvicgx5fn1pd0xa0q6";
+ };
+
+ nativeBuildInputs = [ autoreconfHook libtool pkgconfig ];
+ buildInputs = [ lz4 xz zlib lzo zstd fuse ];
+
+ meta = {
+ description = "FUSE filesystem to mount squashfs archives";
+ homepage = "https://github.com/vasi/squashfuse";
+ maintainers = [ ];
+ platforms = platforms.linux;
+ license = "BSD-2-Clause";
+ };
+}