rotate-backups: move out of pythonPackages

authored by Robert Schütz and committed by Jonathan Ringer dc9b36e5 5cbf555c

+21 -7
+19 -4
pkgs/tools/backup/rotate-backups/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, update-dotdee, simpleeval, dateutil }: 2 3 - buildPythonPackage rec { 4 pname = "rotate-backups"; 5 version = "6.0"; 6 ··· 11 sha256 = "0i59qfv1cfm0ss63ab2nrkn5wr4rxpqqmvfd7pf9c3pl9dbfq20c"; 12 }; 13 14 - propagatedBuildInputs = [ update-dotdee simpleeval dateutil ]; 15 16 meta = with lib; { 17 description = "Simple command line interface for backup rotation"; ··· 20 maintainers = with maintainers; [ eyjhb ]; 21 }; 22 } 23 -
··· 1 + { lib 2 + , python3 3 + , fetchFromGitHub 4 + }: 5 6 + python3.pkgs.buildPythonApplication rec { 7 pname = "rotate-backups"; 8 version = "6.0"; 9 ··· 14 sha256 = "0i59qfv1cfm0ss63ab2nrkn5wr4rxpqqmvfd7pf9c3pl9dbfq20c"; 15 }; 16 17 + propagatedBuildInputs = with python3.pkgs; [ 18 + python-dateutil 19 + simpleeval 20 + update-dotdee 21 + ]; 22 + 23 + checkInputs = with python3.pkgs; [ 24 + pytestCheckHook 25 + ]; 26 + 27 + disabledTests = [ 28 + # https://github.com/xolox/python-rotate-backups/issues/33 29 + "test_removal_command" 30 + ]; 31 32 meta = with lib; { 33 description = "Simple command line interface for backup rotation"; ··· 36 maintainers = with maintainers; [ eyjhb ]; 37 }; 38 }
+1 -1
pkgs/top-level/all-packages.nix
··· 18079 18080 rocksdb_lite = rocksdb.override { enableLite = true; }; 18081 18082 - rotate-backups = with python3Packages; toPythonApplication rotate-backups; 18083 18084 rote = callPackage ../development/libraries/rote { }; 18085
··· 18079 18080 rocksdb_lite = rocksdb.override { enableLite = true; }; 18081 18082 + rotate-backups = callPackage ../tools/backup/rotate-backups { }; 18083 18084 rote = callPackage ../development/libraries/rote { }; 18085
+1
pkgs/top-level/python-aliases.nix
··· 50 pytest-pep8 = pytestpep8; # added 2021-01-04 51 pytestpep8 = throw "pytestpep8 was removed because it is abandoned and no longer compatible with pytest v6.0"; # added 2020-12-10 52 qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09 53 selectors34 = throw "selectors34 has been removed: functionality provided by Python itself; archived by upstream."; # Added 2021-06-10 54 setuptools_scm = setuptools-scm; # added 2021-06-03 55 smart_open = smart-open; # added 2021-03-14
··· 50 pytest-pep8 = pytestpep8; # added 2021-01-04 51 pytestpep8 = throw "pytestpep8 was removed because it is abandoned and no longer compatible with pytest v6.0"; # added 2020-12-10 52 qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09 53 + rotate-backups = throw "pythonPackages.rotate-backups was removed in favor of the top-level rotate-backups"; # added 2021-07-01 54 selectors34 = throw "selectors34 has been removed: functionality provided by Python itself; archived by upstream."; # Added 2021-06-10 55 setuptools_scm = setuptools-scm; # added 2021-06-03 56 smart_open = smart-open; # added 2021-03-14
-2
pkgs/top-level/python-packages.nix
··· 7624 7625 ropper = callPackage ../development/python-modules/ropper { }; 7626 7627 - rotate-backups = callPackage ../tools/backup/rotate-backups { }; 7628 - 7629 routes = callPackage ../development/python-modules/routes { }; 7630 7631 rpdb = callPackage ../development/python-modules/rpdb { };
··· 7624 7625 ropper = callPackage ../development/python-modules/ropper { }; 7626 7627 routes = callPackage ../development/python-modules/routes { }; 7628 7629 rpdb = callPackage ../development/python-modules/rpdb { };