mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 03:43:53 +03:00
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.
This commit is contained in:
parent
c88b4060e0
commit
de0264ce17
@ -12,7 +12,7 @@ python3Packages.buildPythonApplication rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages;
|
||||
[ cython msgpack openssl acl llfuse ];
|
||||
[ cython msgpack openssl acl llfuse-0-41 ];
|
||||
|
||||
preConfigure = ''
|
||||
export ATTIC_OPENSSL_PREFIX="${openssl.dev}"
|
||||
|
@ -12041,6 +12041,30 @@ in modules // {
|
||||
};
|
||||
};
|
||||
|
||||
# Old version needed for attic (backup program) due to breaking change in
|
||||
# llfuse >= 0.42.
|
||||
llfuse-0-41 = buildPythonPackage rec {
|
||||
name = "llfuse-0.41.1";
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/l/llfuse/${name}.tar.bz2";
|
||||
sha256 = "1imlqw9b73086y97izr036f58pgc5akv4ihc2rrf8j5h75jbrlaa";
|
||||
};
|
||||
buildInputs = with self; [ pytest pkgs.pkgconfig pkgs.fuse pkgs.attr pkgs.which ];
|
||||
propagatedBuildInputs = with self; [ 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 = licenses.lgpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ bjornfor ];
|
||||
};
|
||||
};
|
||||
|
||||
locustio = buildPythonPackage rec {
|
||||
name = "locustio-0.7.2";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user