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

View File

@ -1035,8 +1035,6 @@ self: super: with self; {
autoslot = callPackage ../development/python-modules/autoslot { }; autoslot = callPackage ../development/python-modules/autoslot { };
autotrash = callPackage ../development/python-modules/autotrash { };
avahi = toPythonModule (pkgs.avahi.override { avahi = toPythonModule (pkgs.avahi.override {
inherit python; inherit python;
withPython = true; withPython = true;