blob: 6c628b39253576194c63c4903aa5cd333431311d (
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 = {
description = "Tool to automatically purge old trashed files";
license = lib.licenses.gpl3Plus;
homepage = "https://bneijt.nl/pr/autotrash";
maintainers = with lib.maintainers; [ sigmanificient ];
mainProgram = "autotrash";
};
}
|