about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/backup/rotate-backups/default.nix
blob: c0a06e1b9ae585cec43cb2367f8a8fc087ac99e5 (plain) (blame)
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 ];
  };
}