evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / brottsplatskartan / default.nix
blob8de7c2194ab2b9bf9477878b43a3ba7c369840ad
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytest-cov-stub,
6   pytestCheckHook,
7   requests,
8 }:
10 buildPythonPackage rec {
11   pname = "brottsplatskartan";
12   version = "1.0.5";
13   format = "setuptools";
15   src = fetchFromGitHub {
16     owner = "chrillux";
17     repo = pname;
18     rev = version;
19     sha256 = "07iwmnchvpw156j23yfccg4c32izbwm8b02bjr1xgmcwzbq21ks9";
20   };
22   propagatedBuildInputs = [ requests ];
24   nativeCheckInputs = [
25     pytest-cov-stub
26     pytestCheckHook
27   ];
29   pythonImportsCheck = [ "brottsplatskartan" ];
31   meta = with lib; {
32     description = "Python API wrapper for brottsplatskartan.se";
33     homepage = "https://github.com/chrillux/brottsplatskartan";
34     license = with licenses; [ mit ];
35     maintainers = with maintainers; [ fab ];
36   };