git.iko.soy/typeable/nixpkgs
on master help sign in
attic: unbreak "attic mount" by using old llfuse 0.41

llfuse >= 0.42 has breaking changes, causing "attic mount" to fail: TypeError: main() got an unexpected keyword argument 'single' Side note: borgbackup, a fork of attic, has been updated to work with newer llfuse.

commitde0264ce1758245a19a56c06c088a9da42fc99e2 authorBjørn Forsman <bjorn.forsman@gmail.com> dateFri 24 Jun 2016, 19:57 (10 years ago) parentc88b406
2 files changed+25−1
pkgs/tools/backup/attic/default.nix+1−1 pkgs/top-level/python-packages.nix+24
pkgs/tools/backup/attic/default.nix+1−1
@@ -12,7 +12,7 @@ python3Packages.buildPythonApplication rec {
1212 };
1313
1414 propagatedBuildInputs = with python3Packages;
15− [ cython msgpack openssl acl llfuse ];
15+ [ cython msgpack openssl acl llfuse-0-41 ];
1616
1717 preConfigure = ''
1818 export ATTIC_OPENSSL_PREFIX="${openssl.dev}"
pkgs/top-level/python-packages.nix+24
@@ -12041,6 +12041,30 @@ in modules // {
1204112041 };
1204212042 };
1204312043
12044+ # Old version needed for attic (backup program) due to breaking change in
12045+ # llfuse >= 0.42.
12046+ llfuse-0-41 = buildPythonPackage rec {
12047+ name = "llfuse-0.41.1";
12048+ src = pkgs.fetchurl {
12049+ url = "mirror://pypi/l/llfuse/${name}.tar.bz2";
12050+ sha256 = "1imlqw9b73086y97izr036f58pgc5akv4ihc2rrf8j5h75jbrlaa";
12051+ };
12052+ buildInputs = with self; [ pytest pkgs.pkgconfig pkgs.fuse pkgs.attr pkgs.which ];
12053+ propagatedBuildInputs = with self; [ contextlib2 ];
12054+ checkPhase = ''
12055+ py.test
12056+ '';
12057+ # FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin'
12058+ doCheck = false;
12059+ meta = {
12060+ description = "Python bindings for the low-level FUSE API";
12061+ homepage = https://code.google.com/p/python-llfuse/;
12062+ license = licenses.lgpl2Plus;
12063+ platforms = platforms.unix;
12064+ maintainers = with maintainers; [ bjornfor ];
12065+ };
12066+ };
12067+
1204412068 locustio = buildPythonPackage rec {
1204512069 name = "locustio-0.7.2";
1204612070