diff --git a/pkgs/development/python-modules/pytrafikverket/default.nix b/pkgs/development/python-modules/pytrafikverket/default.nix new file mode 100644 index 000000000000..0a65a960fb79 --- /dev/null +++ b/pkgs/development/python-modules/pytrafikverket/default.nix @@ -0,0 +1,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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 17f6624c42ea..4bd13447513f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6489,6 +6489,8 @@ in { pytorchWithoutCuda = self.pytorch.override { cudaSupport = false; }; + pytrafikverket = callPackage ../development/python-modules/pytrafikverket { }; + pytrends = callPackage ../development/python-modules/pytrends { }; pytricia = callPackage ../development/python-modules/pytricia { };