Merge pull request #110816 from fabaff/brottsplatskartan
This commit is contained in:
commit
080e13d54b
@ -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; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -96,7 +96,7 @@
|
|||||||
"braviatv" = ps: with ps; [ bravia-tv ];
|
"braviatv" = ps: with ps; [ bravia-tv ];
|
||||||
"broadlink" = ps: with ps; [ broadlink ];
|
"broadlink" = ps: with ps; [ broadlink ];
|
||||||
"brother" = ps: with ps; [ brother ];
|
"brother" = ps: with ps; [ brother ];
|
||||||
"brottsplatskartan" = ps: with ps; [ ]; # missing inputs: brottsplatskartan
|
"brottsplatskartan" = ps: with ps; [ brottsplatskartan ];
|
||||||
"browser" = ps: with ps; [ ];
|
"browser" = ps: with ps; [ ];
|
||||||
"brunt" = ps: with ps; [ ]; # missing inputs: brunt
|
"brunt" = ps: with ps; [ ]; # missing inputs: brunt
|
||||||
"bsblan" = ps: with ps; [ bsblan ];
|
"bsblan" = ps: with ps; [ bsblan ];
|
||||||
|
@ -1050,6 +1050,8 @@ in {
|
|||||||
|
|
||||||
brotlipy = callPackage ../development/python-modules/brotlipy { };
|
brotlipy = callPackage ../development/python-modules/brotlipy { };
|
||||||
|
|
||||||
|
brottsplatskartan = callPackage ../development/python-modules/brottsplatskartan { };
|
||||||
|
|
||||||
browser-cookie3 = callPackage ../development/python-modules/browser-cookie3 { };
|
browser-cookie3 = callPackage ../development/python-modules/browser-cookie3 { };
|
||||||
|
|
||||||
browsermob-proxy = disabledIf isPy3k (callPackage ../development/python-modules/browsermob-proxy { });
|
browsermob-proxy = disabledIf isPy3k (callPackage ../development/python-modules/browsermob-proxy { });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user