diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-01-04 21:54:15 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-01-04 21:54:15 +0100 |
commit | 9a719a0e5dacaad194fb9df0c146bcde26a2444d (patch) | |
tree | c1c1bf08a83f3b10929f06143e1da3d9759a7437 /pkgs/development/python-modules | |
parent | 06c9dbcece50727ef83dc8096b781d5749759d8a (diff) | |
download | nixpkgs-9a719a0e5dacaad194fb9df0c146bcde26a2444d.tar nixpkgs-9a719a0e5dacaad194fb9df0c146bcde26a2444d.tar.gz nixpkgs-9a719a0e5dacaad194fb9df0c146bcde26a2444d.tar.bz2 nixpkgs-9a719a0e5dacaad194fb9df0c146bcde26a2444d.tar.lz nixpkgs-9a719a0e5dacaad194fb9df0c146bcde26a2444d.tar.xz nixpkgs-9a719a0e5dacaad194fb9df0c146bcde26a2444d.tar.zst nixpkgs-9a719a0e5dacaad194fb9df0c146bcde26a2444d.zip |
python3Packages.glances-api: init at 0.2.0
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/glances-api/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/glances-api/default.nix b/pkgs/development/python-modules/glances-api/default.nix new file mode 100644 index 00000000000..23e152c300f --- /dev/null +++ b/pkgs/development/python-modules/glances-api/default.nix @@ -0,0 +1,34 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, aiohttp +, async-timeout +}: + +buildPythonPackage rec { + pname = "glances-api"; + version = "0.2.0"; + + src = fetchFromGitHub { + owner = "home-assistant-ecosystem"; + repo = "python-glances-api"; + rev = version; + sha256 = "0rgv77n0lvr7d3vk4qc8svipxafmm6s4lfxrl976hsygrhaqidch"; + }; + + propagatedBuildInputs = [ + aiohttp + async-timeout + ]; + + # no tests are present + doCheck = false; + pythonImportsCheck = [ "glances_api" ]; + + meta = with lib; { + description = "Python Wrapper for interacting with the Volkszahler API"; + homepage = "https://github.com/home-assistant-ecosystem/python-glances-api"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} |