diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-12-18 19:01:56 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-12-18 19:01:56 +0100 |
commit | 67f95f156e181582129e24b1214eaa44d5a8df8b (patch) | |
tree | f693eef09a12ac32f9b16bc0ab51a878f7173da3 /pkgs/development/python-modules/aiosenz | |
parent | a1b519b496ab586f13ee0ea7ab383cbfed0e5454 (diff) |
python3Packages.aiosenz: init at 1.0.0
Diffstat (limited to 'pkgs/development/python-modules/aiosenz')
-rw-r--r-- | pkgs/development/python-modules/aiosenz/default.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aiosenz/default.nix b/pkgs/development/python-modules/aiosenz/default.nix new file mode 100644 index 0000000000000..beb5618614705 --- /dev/null +++ b/pkgs/development/python-modules/aiosenz/default.nix @@ -0,0 +1,42 @@ +{ lib +, authlib +, buildPythonPackage +, fetchFromGitHub +, httpx +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "aiosenz"; + version = "1.0.0"; + format = "pyproject"; + + disabled = pythonOlder "3.8"; + + src = fetchFromGitHub { + owner = "milanmeu"; + repo = pname; + rev = version; + sha256 = "sha256-ODdWPS14zzptxuS6mff51f0s1SYnIqjF40DmvT0sL0w="; + }; + + propagatedBuildInputs = [ + httpx + authlib + ]; + + # Project has no tests + doCheck = false; + + pythonImportsCheck = [ + "aiosenz" + ]; + + meta = with lib; { + description = "Python wrapper for the nVent Raychem SENZ RestAPI"; + homepage = "https://github.com/milanmeu/aiosenz"; + license = with licenses; [ lgpl3Plus ]; + maintainers = with maintainers; [ fab ]; + }; +} |