Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / dict-cc-py / default.nix
blobcbacf11912758a0b2bde2bbd7b10b71105ec84fe
1 { lib
2 , python3
3 , fetchFromGitHub
4 }:
6 python3.pkgs.buildPythonPackage rec {
7   pname = "dict.cc.py";
8   version = "3.1.0";
9   format = "setuptools";
11   src = fetchFromGitHub {
12     owner = "rbaron";
13     repo = "dict.cc.py";
14     rev = "a8b469767590fdd15d3aeb0b00e2ae62aa15a918";
15     hash = "sha256-wc0WY1pETBdOT3QUaVGsX8YdcnhxLIHrZ2vt2t5LYKU=";
16   };
18   propagatedBuildInputs = with python3.pkgs; [
19     beautifulsoup4
20     colorama
21     requests
22   ];
24   pythonImportsCheck = [ "dictcc" ];
26   meta = with lib; {
27     description = "Unofficial command line client for dict.cc";
28     homepage = "https://github.com/rbaron/dict.cc.py";
29     license = with licenses; [ cc0 ];
30     maintainers = with maintainers; [ ];
31   };