about summary refs log tree commit diff
path: root/pkgs/tools/backup
diff options
context:
space:
mode:
authoreyjhbb@gmail.com <eyjhbb@gmail.com>2019-07-23 16:57:40 +0200
committereyjhbb@gmail.com <eyjhbb@gmail.com>2019-07-24 10:21:57 +0200
commitd774370939551d00bc040b8e589210d09d8b0dad (patch)
treefd749d40dad3b0337f6eb9d99fe876222374669a /pkgs/tools/backup
parentadfa7bd59f100b10d5d48bb401ab5aa7c51bb4a9 (diff)
downloadnixlib-d774370939551d00bc040b8e589210d09d8b0dad.tar
nixlib-d774370939551d00bc040b8e589210d09d8b0dad.tar.gz
nixlib-d774370939551d00bc040b8e589210d09d8b0dad.tar.bz2
nixlib-d774370939551d00bc040b8e589210d09d8b0dad.tar.lz
nixlib-d774370939551d00bc040b8e589210d09d8b0dad.tar.xz
nixlib-d774370939551d00bc040b8e589210d09d8b0dad.tar.zst
nixlib-d774370939551d00bc040b8e589210d09d8b0dad.zip
pythonPackages.rotate-backups: init at 6.0
Diffstat (limited to 'pkgs/tools/backup')
-rw-r--r--pkgs/tools/backup/rotate-backups/default.nix23
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 ];
+  };
+}
+