autotrash: move to pkgs/by-name
This commit is contained in:
parent
f11759d46f
commit
5afc0a2d7d
@ -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";
|
||||||
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user