Unverified Commit 5d48d462 authored by Matthias Beyer's avatar Matthias Beyer Committed by GitHub
Browse files

Merge pull request #219887 from linuxissuper/add-package-dict.cc.py

dict.cc.py: init at 3.1.0
parents f1c59874 c7473749
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
{ lib
, python3
, fetchFromGitHub
}:

python3.pkgs.buildPythonPackage rec {
  pname = "dict.cc.py";
  version = "3.1.0";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "rbaron";
    repo = "dict.cc.py";
    rev = "a8b469767590fdd15d3aeb0b00e2ae62aa15a918";
    hash = "sha256-wc0WY1pETBdOT3QUaVGsX8YdcnhxLIHrZ2vt2t5LYKU=";
  };

  propagatedBuildInputs = with python3.pkgs; [
    beautifulsoup4
    colorama
    requests
  ];

  pythonImportsCheck = [ "dictcc" ];

  meta = with lib; {
    description = "Unofficial command line client for dict.cc";
    homepage = "https://github.com/rbaron/dict.cc.py";
    license = with licenses; [ cc0 ];
    maintainers = with maintainers; [ ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -42289,6 +42289,8 @@ with pkgs;
  gitrs = callPackage ../tools/misc/gitrs { };
  dict-cc-py = callPackage ../applications/misc/dict-cc-py { };
  wttrbar = callPackage ../applications/misc/wttrbar { };
  wpm = callPackage ../applications/misc/wpm { };