Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ae0b40ab503f
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 080e13d54b38
Choose a head ref
  • 3 commits
  • 3 files changed
  • 2 contributors

Commits on Jan 25, 2021

  1. Copy the full SHA
    30d63ca View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    416c13f View commit details
  3. Copy the full SHA
    080e13d View commit details
35 changes: 35 additions & 0 deletions pkgs/development/python-modules/brottsplatskartan/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 1 addition & 1 deletion pkgs/servers/home-assistant/component-packages.nix
Original file line number Diff line number Diff line change
@@ -96,7 +96,7 @@
"braviatv" = ps: with ps; [ bravia-tv ];
"broadlink" = ps: with ps; [ broadlink ];
"brother" = ps: with ps; [ brother ];
"brottsplatskartan" = ps: with ps; [ ]; # missing inputs: brottsplatskartan
"brottsplatskartan" = ps: with ps; [ brottsplatskartan ];
"browser" = ps: with ps; [ ];
"brunt" = ps: with ps; [ ]; # missing inputs: brunt
"bsblan" = ps: with ps; [ bsblan ];
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -1050,6 +1050,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 { });