8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
23 lines
640 B
Nix
23 lines
640 B
Nix
{ 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 ];
|
|
};
|
|
}
|
|
|