nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 41 lines 901 B view raw
1{ 2 lib, 3 python3, 4 fetchFromGitHub, 5}: 6 7python3.pkgs.buildPythonApplication rec { 8 pname = "rotate-backups"; 9 version = "8.1"; 10 format = "setuptools"; 11 12 src = fetchFromGitHub { 13 owner = "xolox"; 14 repo = "python-rotate-backups"; 15 rev = version; 16 sha256 = "0r4dyd7hj403rksgp3vh1azp9n4af75r3wq3x39wxcqizpms3vkx"; 17 }; 18 19 propagatedBuildInputs = with python3.pkgs; [ 20 python-dateutil 21 simpleeval 22 update-dotdee 23 ]; 24 25 nativeCheckInputs = with python3.pkgs; [ 26 pytestCheckHook 27 ]; 28 29 disabledTests = [ 30 # https://github.com/xolox/python-rotate-backups/issues/33 31 "test_removal_command" 32 ]; 33 34 meta = with lib; { 35 description = "Simple command line interface for backup rotation"; 36 mainProgram = "rotate-backups"; 37 homepage = "https://github.com/xolox/python-rotate-backups"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ eyjhb ]; 40 }; 41}