Unverified Commit 5afc0a2d authored by MithicSpirit's avatar MithicSpirit
Browse files

autotrash: move to pkgs/by-name

parent f11759d4
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
{
  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";
+0 −2
Original line number Diff line number Diff line
@@ -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;