Merge pull request #316350 from Sigmanificient/autotrash
This commit is contained in:
commit
50d57f497f
33
pkgs/development/python-modules/autotrash/default.nix
Normal file
33
pkgs/development/python-modules/autotrash/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "autotrash";
|
||||
version = "0.4.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bneijt";
|
||||
repo = "autotrash";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-qMU3jjBL5+fd9vKX5BIqES5AM8D/54aBOmdHFiBtfEo=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
pythonImportsCheck = [ "autotrash" ];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to automatically purge old trashed files";
|
||||
license = licenses.gpl3Plus;
|
||||
homepage = "https://bneijt.nl/pr/autotrash";
|
||||
maintainers = with maintainers; [ sigmanificient ];
|
||||
mainProgram = "autotrash";
|
||||
};
|
||||
}
|
@ -1007,6 +1007,8 @@ self: super: with self; {
|
||||
|
||||
autoslot = callPackage ../development/python-modules/autoslot { };
|
||||
|
||||
autotrash = callPackage ../development/python-modules/autotrash { };
|
||||
|
||||
avahi = toPythonModule (pkgs.avahi.override {
|
||||
inherit python;
|
||||
withPython = true;
|
||||
|
Loading…
Reference in New Issue
Block a user