Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / python-opendata-transport / default.nix
blob473eb8089707fb6ab21d3c3b0197cbd692768260
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchPypi
5 , pythonOlder
6 , setuptools
7 , urllib3
8 }:
10 buildPythonPackage rec {
11   pname = "python-opendata-transport";
12   version = "0.4.0";
13   pyproject = true;
15   disabled = pythonOlder "3.9";
17   src = fetchPypi {
18     pname = "python_opendata_transport";
19     inherit version;
20     hash = "sha256-2lEKPu5vjyqNUqz1NGmZ5b6YP3oWnCgoubDdiQCbdps=";
21   };
23   nativeBuildInputs = [
24     setuptools
25   ];
27   propagatedBuildInputs = [
28     aiohttp
29     urllib3
30   ];
32   # No tests are present
33   doCheck = false;
35   pythonImportsCheck = [
36     "opendata_transport"
37   ];
39   meta = with lib; {
40     description = "Python client for interacting with transport.opendata.ch";
41     homepage = "https://github.com/home-assistant-ecosystem/python-opendata-transport";
42     changelog = "https://github.com/home-assistant-ecosystem/python-opendata-transport/releases/tag/${version}";
43     license = with licenses; [ mit ];
44     maintainers = with maintainers; [ fab ];
45   };