summary refs log tree commit diff
path: root/pkgs/tools/filesystems/squashfuse
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2018-02-09 21:59:35 +0000
committerProfpatsch <mail@profpatsch.de>2018-02-10 01:03:42 +0100
commit2941217227b56834dfb3f06e43d7ba1b054cedc6 (patch)
tree53d4e3b31b79cf8d8e2bf8bc0f2a5fa83975fbb3 /pkgs/tools/filesystems/squashfuse
parentb37fd0aa3aadd0ef3d39c0db962fabff76858829 (diff)
downloadnixpkgs-2941217227b56834dfb3f06e43d7ba1b054cedc6.tar
nixpkgs-2941217227b56834dfb3f06e43d7ba1b054cedc6.tar.gz
nixpkgs-2941217227b56834dfb3f06e43d7ba1b054cedc6.tar.bz2
nixpkgs-2941217227b56834dfb3f06e43d7ba1b054cedc6.tar.lz
nixpkgs-2941217227b56834dfb3f06e43d7ba1b054cedc6.tar.xz
nixpkgs-2941217227b56834dfb3f06e43d7ba1b054cedc6.tar.zst
nixpkgs-2941217227b56834dfb3f06e43d7ba1b054cedc6.zip
Revert "squashfuse: init at 0.1.101"
This reverts commit 17210fee46826873a623ffd6b691da3d897277e3.
Diffstat (limited to 'pkgs/tools/filesystems/squashfuse')
-rw-r--r--pkgs/tools/filesystems/squashfuse/default.nix65
1 files changed, 0 insertions, 65 deletions
diff --git a/pkgs/tools/filesystems/squashfuse/default.nix b/pkgs/tools/filesystems/squashfuse/default.nix
deleted file mode 100644
index 75b6deccc83..00000000000
--- a/pkgs/tools/filesystems/squashfuse/default.nix
+++ /dev/null
@@ -1,65 +0,0 @@
-{ stdenv, fetchurl, automake, autoconf, libtool, fuse, pkgconfig, pcre,
-
-# Optional Dependencies
-lz4 ? null, xz ? null, zlib ? null, lzo ? null, zstd ? null}:
-
-with stdenv.lib;
-let
-  mkFlag = trueStr: falseStr: cond: name: val: "--"
-    + (if cond then trueStr else falseStr)
-    + name
-    + optionalString (val != null && cond != false) "=${val}";
-  mkEnable = mkFlag "enable-" "disable-";
-  mkWith = mkFlag "with-" "--without-";
-  mkOther = mkFlag "" "" true;
-
-  shouldUsePkg = pkg: if pkg != null && any (x: x == stdenv.system) pkg.meta.platforms then pkg else null;
-
-  optLz4 = shouldUsePkg lz4;
-  optLzma = shouldUsePkg xz;
-  optZlib = shouldUsePkg zlib;
-  optLzo = shouldUsePkg lzo;
-	optZstd = shouldUsePkg zstd;
-in
-
-stdenv.mkDerivation rec {
-
-  pname = "squashfuse";
-  version = "0.1.101";
-  name = "${pname}-${version}";
-
-  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 = fetchurl {
-	    url = "https://github.com/vasi/squashfuse/archive/${version}.tar.gz";
-	    sha256 = "08d1j1a73dhhypbk0q20qkrz564zpmvkpk3k3s8xw8gd9nvy2xa2";
-	  };
-
-  nativeBuildInputs = [ automake autoconf libtool pkgconfig];
-  buildInputs = [ optLz4 optLzma optZlib optLzo optZstd fuse ];
-
-	# We can do it far better i guess, ignoring -with option
-	# but it should be safer like that.
-	# TODO: Improve writing nix expression mkWithLib.
-  configureFlags = [
-    (mkWith (optLz4  != null) "lz4=${lz4}/lib"  null)
-    (mkWith (optLzma != null) "xz=${xz}/lib" null)
-    (mkWith (optZlib != null) "zlib=${zlib}/lib" null)
-    (mkWith (optLzo  != null) "lzo=${lzo}/lib"  null)
-		(mkWith (optZstd != null) "zstd=${zstd}/lib"  null)
-  ];
-
-  preConfigure = ''
-    ./autogen.sh
-  '';
-}