diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-07-25 16:28:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-25 16:28:52 -0400 |
commit | 3047bf3fa98361a290bb566e120d200d508ddbde (patch) | |
tree | aa38021f9b74b46a40f712f428d94a777a76cdfa /pkgs/tools/backup | |
parent | 70fd697efeab4d523257da2dfbb46be80ffa0dcd (diff) | |
parent | 3d91e7fde081da2a6902e0d959baeb0345136945 (diff) |
Merge pull request #64989 from eyJhb/rotate-backups
pythonPackages.rotate-backups: init at 6.0
Diffstat (limited to 'pkgs/tools/backup')
-rw-r--r-- | pkgs/tools/backup/rotate-backups/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/backup/rotate-backups/default.nix b/pkgs/tools/backup/rotate-backups/default.nix new file mode 100644 index 000000000000..17397ce838f5 --- /dev/null +++ b/pkgs/tools/backup/rotate-backups/default.nix @@ -0,0 +1,23 @@ +{ lib, buildPythonPackage, fetchFromGitHub, update-dotdee, simpleeval, dateutil }: + +buildPythonPackage rec { + pname = "rotate-backups"; + version = "6.0"; + + src = fetchFromGitHub { + owner = "xolox"; + repo = "python-rotate-backups"; + rev = version; + sha256 = "0i59qfv1cfm0ss63ab2nrkn5wr4rxpqqmvfd7pf9c3pl9dbfq20c"; + }; + + propagatedBuildInputs = [ update-dotdee simpleeval dateutil ]; + + meta = with lib; { + description = "Simple command line interface for backup rotation"; + homepage = https://github.com/xolox/python-rotate-backups; + license = licenses.mit; + maintainers = with maintainers; [ eyjhb ]; + }; +} + |