blob: 1d0e28405c93f2710004e6a70abf01fdebd3e35c (
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
24
25
26
27
28
29
30
31
32
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";
};
}
|