Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / wikipedia-api / default.nix
blobe8959b078c75b4e2186115f1f77cbcbf02168cd9
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , requests
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "wikipedia-api";
10   version = "0.6.0";
11   format = "setuptools";
13   src = fetchFromGitHub {
14     owner = "martin-majlis";
15     repo = "Wikipedia-API";
16     rev = "v${version}";
17     hash = "sha256-cmwyQhKbkIpZXkKqqT0X2Lp8OFma2joeb4uxDRPiQe8=";
18   };
20   propagatedBuildInputs = [
21     requests
22   ];
24   nativeCheckInputs = [ pytestCheckHook ];
26   pythonImportsCheck = [ "wikipediaapi" ];
28   meta = with lib; {
29     description = "Python wrapper for Wikipedia";
30     homepage = "https://github.com/martin-majlis/Wikipedia-API";
31     changelog = "https://github.com/martin-majlis/Wikipedia-API/blob/${src.rev}/CHANGES.rst";
32     license = licenses.mit;
33     maintainers = with maintainers; [ mbalatsko ];
34   };