autotrash: move to pkgs/by-name

This commit is contained in:
MithicSpirit 2024-09-23 09:40:45 -04:00
parent f11759d46f
commit 5afc0a2d7d
No known key found for this signature in database
GPG Key ID: 0EA043551EBD3C2E
2 changed files with 4 additions and 9 deletions

View File

@ -1,14 +1,11 @@
{
lib,
buildPythonPackage,
python3Packages,
fetchFromGitHub,
poetry-core,
pandoc,
installShellFiles,
pytestCheckHook,
}:
buildPythonPackage rec {
python3Packages.buildPythonPackage rec {
pname = "autotrash";
version = "0.4.7";
pyproject = true;
@ -20,7 +17,7 @@ buildPythonPackage rec {
hash = "sha256-qMU3jjBL5+fd9vKX5BIqES5AM8D/54aBOmdHFiBtfEo=";
};
build-system = [ poetry-core ];
build-system = [ python3Packages.poetry-core ];
nativeBuildInputs = [
installShellFiles
@ -30,7 +27,7 @@ buildPythonPackage rec {
postInstall = "installManPage doc/autotrash.1";
pythonImportsCheck = [ "autotrash" ];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [ python3Packages.pytestCheckHook ];
meta = {
description = "Tool to automatically purge old trashed files";

View File

@ -1035,8 +1035,6 @@ 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;