diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-04-24 22:47:33 +0200 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-04-24 15:28:56 -0700 |
commit | bce7201f725e0aa867f74185dc0f0e9c7bb8403a (patch) | |
tree | 88472963af7138a7b9488019c68e5574c2b86212 | |
parent | 7b79425d8451612f8e339a604981a2979382e232 (diff) |
python3Packages.pysmartapp: init at 0.3.3
-rw-r--r-- | pkgs/development/python-modules/pysmartapp/default.nix | 38 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 6 |
2 files changed, 42 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pysmartapp/default.nix b/pkgs/development/python-modules/pysmartapp/default.nix new file mode 100644 index 0000000000000..abf3796ae7f7b --- /dev/null +++ b/pkgs/development/python-modules/pysmartapp/default.nix @@ -0,0 +1,38 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, httpsig +, pytest-asyncio +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "pysmartapp"; + version = "0.3.3"; + + src = fetchFromGitHub { + owner = "andrewsayre"; + repo = pname; + rev = version; + sha256 = "03wk44siqxl15pa46x5vkg4q0mnga34ir7qn897576z2ivbx7awh"; + }; + + propagatedBuildInputs = [ + httpsig + ]; + + checkInputs = [ + pytest-asyncio + pytestCheckHook + ]; + + pythonImportsCheck = [ "pysmartapp" ]; + + meta = with lib; { + description = "Python implementation to work with SmartApp lifecycle events"; + homepage = "https://github.com/andrewsayre/pysmartapp"; + changelog = "https://github.com/andrewsayre/pysmartapp/releases/tag/${version}"; + 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 4616e1e898b23..efe6a8e59e2b5 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6518,10 +6518,12 @@ in { pysmappee = callPackage ../development/python-modules/pysmappee { }; - pysmb = callPackage ../development/python-modules/pysmb { }; - pysmart-smartx = callPackage ../development/python-modules/pysmart-smartx { }; + pysmartapp = callPackage ../development/python-modules/pysmartapp { }; + + pysmb = callPackage ../development/python-modules/pysmb { }; + pysmbc = callPackage ../development/python-modules/pysmbc { }; pysmf = callPackage ../development/python-modules/pysmf { }; |