2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, libtool, fuse,
|
|
|
|
pkgconfig, lz4, xz, zlib, lzo, zstd }:
|
2018-02-16 14:44:18 +00:00
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
pname = "squashfuse";
|
2018-08-04 12:28:35 +01:00
|
|
|
version = "0.1.103";
|
2018-02-20 12:06:26 +00:00
|
|
|
name = "${pname}-${version}";
|
2018-02-16 14:44:18 +00:00
|
|
|
|
|
|
|
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}";
|
2018-08-04 12:28:35 +01:00
|
|
|
rev = "540204955134eee44201d50132a5f66a246bcfaf";
|
2018-02-20 12:06:26 +00:00
|
|
|
sha256 = "07jv4qjjz9ky3mw3p5prgs19g1bna9dcd7jjdz8083s1wyipdgcq";
|
2018-02-16 14:44:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook libtool pkgconfig ];
|
|
|
|
buildInputs = [ lz4 xz zlib lzo zstd fuse ];
|
|
|
|
}
|