Merge pull request #35180 from dotlambda/attic

attic: uninit

authored by Jörg Thalheim and committed by GitHub 263a8c72 6f0405c4

+8 -60
+8
nixos/doc/manual/release-notes/rl-1803.xml
··· 231 231 <literal>Option "XkbRules" "base"</literal> may result in broken keyboard layout. 232 232 </para> 233 233 </listitem> 234 + <listitem> 235 + <para> 236 + The <literal>attic</literal> package was removed. A maintained fork called 237 + <link xlink:href="https://www.borgbackup.org/">Borg</link> should be used instead. 238 + Migration instructions can be found 239 + <link xlink:href="http://borgbackup.readthedocs.io/en/stable/usage/upgrade.html#attic-and-borg-0-xx-to-borg-1-x">here</link>. 240 + </para> 241 + </listitem> 234 242 </itemizedlist> 235 243 236 244 </section>
-56
pkgs/tools/backup/attic/default.nix
··· 1 - { stdenv, fetchzip, python3Packages, openssl, acl, fetchurl, pkgconfig, fuse, attr, which }: 2 - 3 - let 4 - 5 - # Old version needed for attic (backup program) due to breaking change in 6 - # llfuse >= 0.42. 7 - llfuse-0-41 = python3Packages.buildPythonPackage rec { 8 - name = "llfuse-0.41.1"; 9 - src = fetchurl { 10 - url = "mirror://pypi/l/llfuse/${name}.tar.bz2"; 11 - sha256 = "1imlqw9b73086y97izr036f58pgc5akv4ihc2rrf8j5h75jbrlaa"; 12 - }; 13 - nativeBuildInputs = [ pkgconfig ]; 14 - buildInputs = with python3Packages; [ pytest fuse attr which ]; 15 - propagatedBuildInputs = with python3Packages; [ contextlib2 ]; 16 - checkPhase = '' 17 - py.test 18 - ''; 19 - # FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin' 20 - doCheck = false; 21 - meta = { 22 - description = "Python bindings for the low-level FUSE API"; 23 - homepage = https://code.google.com/p/python-llfuse/; 24 - license = stdenv.lib.licenses.lgpl2Plus; 25 - platforms = stdenv.lib.platforms.unix; 26 - maintainers = with stdenv.lib.maintainers; [ bjornfor ]; 27 - }; 28 - }; 29 - 30 - in python3Packages.buildPythonApplication rec { 31 - name = "attic-${version}"; 32 - version = "0.16"; 33 - namePrefix = ""; 34 - 35 - src = fetchzip { 36 - name = "${name}-src"; 37 - url = "https://github.com/jborg/attic/archive/${version}.tar.gz"; 38 - sha256 = "008566hhsd3ck70ql0fdn4vaqjfcnf493gwd49d6294f8r7qn06z"; 39 - }; 40 - 41 - propagatedBuildInputs = with python3Packages; 42 - [ cython msgpack openssl acl llfuse-0-41 ]; 43 - 44 - preConfigure = '' 45 - export ATTIC_OPENSSL_PREFIX="${openssl.dev}" 46 - substituteInPlace setup.py --replace "version=versioneer.get_version()" "version='${version}'" 47 - ''; 48 - 49 - meta = with stdenv.lib; { 50 - description = "A deduplicating backup program"; 51 - homepage = https://attic-backup.org; 52 - license = licenses.bsd3; 53 - maintainers = [ maintainers.wscott ]; 54 - platforms = platforms.unix; # Darwin and FreeBSD mentioned on homepage 55 - }; 56 - }
-4
pkgs/top-level/all-packages.nix
··· 546 546 547 547 atomicparsley = callPackage ../tools/video/atomicparsley { }; 548 548 549 - attic = callPackage ../tools/backup/attic { 550 - python3Packages = python34Packages; 551 - }; 552 - 553 549 autoflake = callPackage ../development/tools/analysis/autoflake { }; 554 550 555 551 avfs = callPackage ../tools/filesystems/avfs { };