Skip to content

Commit

Permalink
squashfuse : init at 0.1.101-371e4be
Browse files Browse the repository at this point in the history
  • Loading branch information
Bignaux Ronan authored and garbas committed Mar 9, 2018
1 parent 3b769ea commit 6f8176a
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
42 changes: 42 additions & 0 deletions pkgs/tools/filesystems/squashfuse/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{ stdenv, fetchFromGitHub, fetchpatch, automake, autoreconfHook, libtool, fuse,
pkgconfig, pcre, lz4, xz, zlib, lzo, zstd }:

with stdenv.lib;

stdenv.mkDerivation rec {

pname = "squashfuse";
version = "0.1.101";
rev = "371e4bee9caa254d842913df9bdbcc795c5b342c";
short_rev = "${builtins.substring 0 7 rev}";
name = "${pname}-${version}-${short_rev}";

meta = {
description = "FUSE filesystem to mount squashfs archives";
homepage = https://github.com/vasi/squashfuse;
maintainers = [ maintainers.genesis ];
platforms = platforms.linux;
license = "BSD-2-Clause";
};

# 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 = "${rev}";
sha256 = "0i9p8r1c128hzy0cwmga1x7q8zk7kw68mh8li5ipfz8zba60d7vz";
};

patches = [
(fetchpatch {
url = "https://github.com/vasi/squashfuse/commit/0c44cb2abe402d6e352dd47ac8b7e7495c7c2a6f.patch";
sha256 = "0z53p7pi3ap05n0bxhmka4sz12cw2cjjvc7xn9jppbyynfzx32m0";
})
];

nativeBuildInputs = [ autoreconfHook libtool pkgconfig ];
buildInputs = [ lz4 xz zlib lzo zstd fuse ];
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4827,6 +4827,8 @@ with pkgs;

squashfsTools = callPackage ../tools/filesystems/squashfs { };

squashfuse = callPackage ../tools/filesystems/squashfuse { };

srcml = callPackage ../applications/version-management/srcml { };

sshfs-fuse = callPackage ../tools/filesystems/sshfs-fuse { };
Expand Down

0 comments on commit 6f8176a

Please sign in to comment.