evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / wikipedia / default.nix
blob93d23d7209a76a42227607d6ce58277ca0a3b72f
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   beautifulsoup4,
6   requests,
7   unittestCheckHook,
8 }:
10 buildPythonPackage rec {
11   pname = "wikipedia";
12   version = "1.4.0";
13   format = "setuptools";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-2w+tGCn91EGxhSMG6YVjmCBNwHhtKZbdLgyLuOJhM7I=";
18   };
20   propagatedBuildInputs = [
21     beautifulsoup4
22     requests
23   ];
25   nativeCheckInputs = [ unittestCheckHook ];
27   unittestFlagsArray = [ "tests/ '*test.py'" ];
29   meta = with lib; {
30     description = "Pythonic wrapper for the Wikipedia API";
31     homepage = "https://github.com/goldsmith/Wikipedia";
32     changelog = "https://github.com/goldsmith/Wikipedia/blob/master/CHANGELOG.md";
33     license = licenses.mit;
34     maintainers = with maintainers; [ natsukium ];
35   };