Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / niluclient / default.nix
blob7f6aa69da61e59c7ae48ae876be5dedca1ac4b5a
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , requests
6 }:
8 buildPythonPackage rec {
9   pname = "niluclient";
10   version = "0.1.2";
11   format = "setuptools";
13   disabled = pythonOlder "3.6";
15   src = fetchPypi {
16     inherit pname version;
17     sha256 = "11ymn0cr4lchrcnf2xxlgljw223gwln01gxwr7mcgf95yc4006iq";
18   };
20   propagatedBuildInputs = [
21     requests
22   ];
24   # Project has no tests
25   doCheck = false;
27   pythonImportsCheck = [ "niluclient" ];
29   meta = with lib; {
30     description = "Python client for getting air pollution data from NILU sensor stations";
31     homepage = "https://github.com/hfurubotten/niluclient";
32     license = with licenses; [ mit ];
33     maintainers = with maintainers; [ fab ];
34   };