about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytrafikverket/default.nix
blob: 0a65a960fb79c9f77e6d38a93f132040e2e0906c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, async-timeout
, lxml
}:

buildPythonPackage rec {
  pname = "pytrafikverket";
  version = "0.1.6.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0hrjsw53ixgmhsiszdrzzh0wma705nrhq8npzacsyaf43r29zvqy";
  };

  propagatedBuildInputs = [
    aiohttp
    async-timeout
    lxml
  ];

  # Project has no tests
  doCheck = false;
  pythonImportsCheck = [ "pytrafikverket" ];

  meta = with lib; {
    description = "Python library to manage Etekcity Devices and Levoit Air Purifier";
    homepage = "https://github.com/endor-force/pytrafikverket";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}