summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2022-02-11 12:10:34 +0100
committerGitHub <noreply@github.com>2022-02-11 12:10:34 +0100
commit3aa3fc9b4fa0835aeb521475cbbded4f61df3fcd (patch)
tree652fd169f954bd8c8b963090876b73634ec9d9ec /pkgs/development/python-modules
parent9da778429694d1e8d69932a0f2e404dd6ba9b770 (diff)
parenta1f5e425bf21debf963ce63ea980b397f3ae8f27 (diff)
Merge pull request #159203 from fabaff/temescal
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/temescal/default.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/temescal/default.nix b/pkgs/development/python-modules/temescal/default.nix
new file mode 100644
index 000000000000..429b0a23d187
--- /dev/null
+++ b/pkgs/development/python-modules/temescal/default.nix
@@ -0,0 +1,37 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, pythonOlder
+, pycryptodome
+}:
+
+buildPythonPackage rec {
+ pname = "temescal";
+ version = "0.3";
+ format = "setuptools";
+
+ disabled = pythonOlder "3.7";
+
+ src = fetchPypi {
+ inherit pname version;
+ hash = "sha256-V1wsncIm4f6NPa6lwlO9pkDIFBG1K3VhmOQCwyrPGm4=";
+ };
+
+ propagatedBuildInputs = [
+ pycryptodome
+ ];
+
+ # Module has no tests
+ doCheck = false;
+
+ pythonImportsCheck = [
+ "temescal"
+ ];
+
+ meta = with lib; {
+ description = "Module for interacting with LG speaker systems";
+ homepage = "https://github.com/google/python-temescal";
+ license = licenses.asl20;
+ maintainers = with maintainers; [ fab ];
+ };
+}