summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/backup/rotate-backups/default.nix
blob: 17397ce838f5a40aadfbed2632956dddb014cc3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 ];
  };
}