@@ -0,0 +1,23 @@
1+{ lib, buildPythonPackage, fetchFromGitHub, update-dotdee, simpleeval, dateutil }:
2+
3+buildPythonPackage rec {
4+ pname = "rotate-backups";
5+ version = "6.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "xolox";
9+ repo = "python-rotate-backups";
10+ rev = version;
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";
18+ homepage = https://github.com/xolox/python-rotate-backups;
19+ license = licenses.mit;
20+ maintainers = with maintainers; [ eyjhb ];
21+ };
22+}
23+