diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-05-07 08:50:14 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-05-07 08:50:14 +0200 |
commit | e75096142cf2f55a22c599469a2de0ef9f0e58b6 (patch) | |
tree | 2ef5eb09364425ab6a201c4c6c741cc6c8535ca1 /pkgs/tools | |
parent | afad43064b6139f3bd93e75bc1b9433cab8a7c78 (diff) | |
download | nixlib-e75096142cf2f55a22c599469a2de0ef9f0e58b6.tar nixlib-e75096142cf2f55a22c599469a2de0ef9f0e58b6.tar.gz nixlib-e75096142cf2f55a22c599469a2de0ef9f0e58b6.tar.bz2 nixlib-e75096142cf2f55a22c599469a2de0ef9f0e58b6.tar.lz nixlib-e75096142cf2f55a22c599469a2de0ef9f0e58b6.tar.xz nixlib-e75096142cf2f55a22c599469a2de0ef9f0e58b6.tar.zst nixlib-e75096142cf2f55a22c599469a2de0ef9f0e58b6.zip |
pythonPackages.llfuse-0-41: move into attic
because that's the only expression using this older version.
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/backup/attic/default.nix | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/pkgs/tools/backup/attic/default.nix b/pkgs/tools/backup/attic/default.nix index d4e8634039a9..abfccb97641c 100644 --- a/pkgs/tools/backup/attic/default.nix +++ b/pkgs/tools/backup/attic/default.nix @@ -1,6 +1,32 @@ -{ stdenv, fetchzip, python3Packages, openssl, acl }: +{ stdenv, fetchzip, python3Packages, openssl, acl, fetchurl, pkgconfig, fuse, attr, which }: -python3Packages.buildPythonApplication rec { +let + + # Old version needed for attic (backup program) due to breaking change in + # llfuse >= 0.42. + llfuse-0-41 = python3Packages.buildPythonPackage rec { + name = "llfuse-0.41.1"; + src = fetchurl { + url = "mirror://pypi/l/llfuse/${name}.tar.bz2"; + sha256 = "1imlqw9b73086y97izr036f58pgc5akv4ihc2rrf8j5h75jbrlaa"; + }; + buildInputs = with python3Packages; [ pytest pkgconfig fuse attr which ]; + propagatedBuildInputs = with python3Packages; [ contextlib2 ]; + checkPhase = '' + py.test + ''; + # FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin' + doCheck = false; + meta = { + description = "Python bindings for the low-level FUSE API"; + homepage = https://code.google.com/p/python-llfuse/; + license = stdenv.lib.licenses.lgpl2Plus; + platforms = stdenv.lib.platforms.unix; + maintainers = with stdenv.lib.maintainers; [ bjornfor ]; + }; + }; + +in python3Packages.buildPythonApplication rec { name = "attic-${version}"; version = "0.16"; namePrefix = ""; |