Commit 4361baa7 authored by zendo's avatar zendo Committed by Robert Helgesson
Browse files

trash-cli: 0.22.10.20 -> 0.23.2.13.2

parent 40865fcc
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -2,13 +2,13 @@

python3Packages.buildPythonApplication rec {
  pname = "trash-cli";
  version = "0.22.10.20";
  version = "0.23.2.13.2";

  src = fetchFromGitHub {
    owner = "andreafrancia";
    repo = "trash-cli";
    rev = version;
    hash = "sha256-NnFOe471GxcjpTwpsoxKaWiw4lW4tUPIM+WpzCsEdkI=";
    hash = "sha256-TJEi7HKIrfOdb+LLRt2DN5gWdFzUeo6isb59lFLK4bQ=";
  };

  propagatedBuildInputs = with python3Packages; [ psutil six ];
@@ -18,6 +18,10 @@ python3Packages.buildPythonApplication rec {
    pytestCheckHook
  ];

  postPatch = ''
    sed -i '/typing/d' setup.cfg
  '';

  doInstallCheck = true;
  installCheckPhase = ''
    runHook preInstallCheck
@@ -42,7 +46,7 @@ python3Packages.buildPythonApplication rec {

  meta = with lib; {
    homepage = "https://github.com/andreafrancia/trash-cli";
    description = "Command line tool for the desktop trash can";
    description = "Command line interface to the freedesktop.org trashcan";
    maintainers = [ maintainers.rycee ];
    platforms = platforms.unix;
    license = licenses.gpl2Plus;