python3Packages.brottsplatskartan: init at 1.0.5

This commit is contained in:
Fabian Affolter 2021-01-25 21:28:29 +01:00
parent 1af6e3aeed
commit 30d63caad6
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest-cov
, pytestCheckHook
, requests
}:
buildPythonPackage rec {
pname = "brottsplatskartan";
version = "1.0.5";
src = fetchFromGitHub {
owner = "chrillux";
repo = pname;
rev = version;
sha256 = "07iwmnchvpw156j23yfccg4c32izbwm8b02bjr1xgmcwzbq21ks9";
};
propagatedBuildInputs = [ requests ];
checkInputs = [
pytest-cov
pytestCheckHook
];
pythonImportsCheck = [ "brottsplatskartan" ];
meta = with lib; {
description = "Python API wrapper for brottsplatskartan.se";
homepage = "https://github.com/chrillux/brottsplatskartan";
license = with licenses; [ gpl2Only ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -1044,6 +1044,8 @@ in {
brotlipy = callPackage ../development/python-modules/brotlipy { };
brottsplatskartan = callPackage ../development/python-modules/brottsplatskartan { };
browser-cookie3 = callPackage ../development/python-modules/browser-cookie3 { };
browsermob-proxy = disabledIf isPy3k (callPackage ../development/python-modules/browsermob-proxy { });