about summary refs log tree commit diff
path: root/pkgs/development/python-modules/sacn
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2020-10-17 22:45:56 +0200
committerJon <jonringer@users.noreply.github.com>2020-10-17 14:40:21 -0700
commit73eea3d98dee65fe8f7f3ea05de52be4621ab226 (patch)
tree0088c576896e30f5a4246ea82701e9fb024abe83 /pkgs/development/python-modules/sacn
parent4fb4b69d9b1c3e6a70c7083888e546fdc8a42f3e (diff)
python3Packages.sacn: init at 1.4.6
Diffstat (limited to 'pkgs/development/python-modules/sacn')
-rw-r--r--pkgs/development/python-modules/sacn/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/sacn/default.nix b/pkgs/development/python-modules/sacn/default.nix
new file mode 100644
index 0000000000000..35c7a74432999
--- /dev/null
+++ b/pkgs/development/python-modules/sacn/default.nix
@@ -0,0 +1,28 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, isPy27
+}:
+
+buildPythonPackage rec {
+  pname = "sacn";
+  version = "1.4.6";
+  disabled = isPy27;
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "015wa9nhqgd0kb60bw19g86ga25s9mpvsbqkahi3kw6df6j0wzss";
+  };
+
+  # no tests
+  doCheck = false;
+
+  pythonImportsCheck = [ "sacn" ];
+
+  meta = with lib; {
+    description = "A simple ANSI E1.31 (aka sACN) module for python";
+    homepage = "https://github.com/Hundemeier/sacn";
+    license = licenses.mit;
+    maintainers = with maintainers; [ hexa ];
+  };
+}