mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
autotrash: move to pkgs/by-name
This commit is contained in:
parent
f11759d46f
commit
5afc0a2d7d
@ -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";
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user