git.iko.soy/typeable/nixpkgs
on master help sign in
attic: unbreak "attic mount" by using old llfuse 0.41
de0264cBjørn Forsman
pkgs/tools/backup/attic/default.nix+1−1
@@ -12,7 +12,7 @@ python3Packages.buildPythonApplication rec {
12 };
12 };
13
13
14 propagatedBuildInputs = with python3Packages;
14 propagatedBuildInputs = with python3Packages;
15− [ cython msgpack openssl acl llfuse ];
15+ [ cython msgpack openssl acl llfuse-0-41 ];
16
16
17 preConfigure = ''
17 preConfigure = ''
18 export ATTIC_OPENSSL_PREFIX="${openssl.dev}"
18 export ATTIC_OPENSSL_PREFIX="${openssl.dev}"
pkgs/top-level/python-packages.nix+24
@@ -12041,6 +12041,30 @@ in modules // {
12041 };
12041 };
12042 };
12042 };
12043
12043
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+
12044 locustio = buildPythonPackage rec {
12068 locustio = buildPythonPackage rec {
12045 name = "locustio-0.7.2";
12069 name = "locustio-0.7.2";
12046
12070