Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
783 B · 37 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, fetchFromGitHub, pytest-cov-stub, pytestCheckHook, requests,}:
buildPythonPackage rec { pname = "brottsplatskartan"; version = "1.0.5"; format = "setuptools";
src = fetchFromGitHub { owner = "chrillux"; repo = "brottsplatskartan"; rev = version; sha256 = "07iwmnchvpw156j23yfccg4c32izbwm8b02bjr1xgmcwzbq21ks9"; };
propagatedBuildInputs = [ requests ];
nativeCheckInputs = [ pytest-cov-stub 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 ]; };}