diff options
author | makefu <github@syntax-fehler.de> | 2019-10-08 10:28:23 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2019-10-08 10:32:25 +0200 |
commit | 1dfe85122944fcda2f38e70d33207635a232cd9e (patch) | |
tree | 1c283954c07d55f088d139008580e083b1da6f74 /pkgs/development/python-modules/pyhaversion | |
parent | 9b62190190db5d37ff18f6c7668240a856796b47 (diff) | |
download | nixpkgs-1dfe85122944fcda2f38e70d33207635a232cd9e.tar nixpkgs-1dfe85122944fcda2f38e70d33207635a232cd9e.tar.gz nixpkgs-1dfe85122944fcda2f38e70d33207635a232cd9e.tar.bz2 nixpkgs-1dfe85122944fcda2f38e70d33207635a232cd9e.tar.lz nixpkgs-1dfe85122944fcda2f38e70d33207635a232cd9e.tar.xz nixpkgs-1dfe85122944fcda2f38e70d33207635a232cd9e.tar.zst nixpkgs-1dfe85122944fcda2f38e70d33207635a232cd9e.zip |
pythonPackages.pyhaversion: init at 3.1.0
Diffstat (limited to 'pkgs/development/python-modules/pyhaversion')
-rw-r--r-- | pkgs/development/python-modules/pyhaversion/default.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyhaversion/default.nix b/pkgs/development/python-modules/pyhaversion/default.nix new file mode 100644 index 00000000000..73de6ba0839 --- /dev/null +++ b/pkgs/development/python-modules/pyhaversion/default.nix @@ -0,0 +1,43 @@ +{ lib +, buildPythonPackage +, fetchPypi +# propagatedBuildInputs +, aiohttp +, async-timeout +# buildInputs +, pytestrunner +# checkInputs +, pytest +, pytest-asyncio +, aresponses +}: +buildPythonPackage rec { + pname = "pyhaversion"; + version = "3.1.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "1d4smpzlaw0sqfgkgvhxsn8h7bmwj8h9gj98sdzvkzhp5vhd96b2"; + }; + + propagatedBuildInputs = [ + aiohttp + async-timeout + ]; + + buildInputs = [ + pytestrunner + ]; + + checkInputs = [ + pytest + pytest-asyncio + aresponses + ]; + + meta = with lib; { + description = "A python module to the newest version number of Home Assistant"; + homepage = https://github.com/ludeeus/pyhaversion; + maintainers = [ maintainers.makefu ]; + }; +} |