summary refs log blame commit diff
path: root/pkgs/development/python-modules/python-opendata-transport/default.nix
blob: 906f084398081f949b6946e38c0be846af22dcaa (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                      
                    



                                        
                                                                   



















                                                                                       
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, async-timeout
, urllib3
}:

buildPythonPackage rec {
  pname = "python-opendata-transport";
  version = "0.2.2";

  src = fetchPypi {
    pname = "python_opendata_transport";
    inherit version;
    sha256 = "sha256-Z0VHkKYHpwbBwwFrMtA5JRy0m7f0566IjCmGizoKEoo=";
  };

  propagatedBuildInputs = [
    aiohttp
    async-timeout
    urllib3
  ];

  # no tests are present
  doCheck = false;

  pythonImportsCheck = [ "opendata_transport" ];

  meta = with lib; {
    description = "Python client for interacting with transport.opendata.ch";
    homepage = "https://github.com/home-assistant-ecosystem/python-opendata-transport";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}