about summary refs log tree commit diff
path: root/pkgs/development/python-modules/txdbus/default.nix
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2020-05-23 10:24:52 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2020-05-23 10:24:52 +0200
commitb34551384a0b96ee59ddf5b9290da59ad8987473 (patch)
tree4b4389ee28fa029543c6fa61e87da9194fcea28d /pkgs/development/python-modules/txdbus/default.nix
parent5c2b59d63afe75d6735790ca9232a1445091bf53 (diff)
parentf7a398c481306f007dfaa050a6f597c0bf37a2ac (diff)
downloadnixlib-b34551384a0b96ee59ddf5b9290da59ad8987473.tar
nixlib-b34551384a0b96ee59ddf5b9290da59ad8987473.tar.gz
nixlib-b34551384a0b96ee59ddf5b9290da59ad8987473.tar.bz2
nixlib-b34551384a0b96ee59ddf5b9290da59ad8987473.tar.lz
nixlib-b34551384a0b96ee59ddf5b9290da59ad8987473.tar.xz
nixlib-b34551384a0b96ee59ddf5b9290da59ad8987473.tar.zst
nixlib-b34551384a0b96ee59ddf5b9290da59ad8987473.zip
Merge master into staging-next
Diffstat (limited to 'pkgs/development/python-modules/txdbus/default.nix')
-rw-r--r--pkgs/development/python-modules/txdbus/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/txdbus/default.nix b/pkgs/development/python-modules/txdbus/default.nix
new file mode 100644
index 000000000000..0fbe4900f9e5
--- /dev/null
+++ b/pkgs/development/python-modules/txdbus/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, buildPythonPackage, fetchPypi, six, twisted }:
+
+buildPythonPackage rec {
+  pname = "txdbus";
+  version = "1.1.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0z41n1ikpdvk0nm8dbyh6g9bg781q4j6hg2b09b5k4wdqm17zxbg";
+  };
+
+  propagatedBuildInputs = [ six twisted ];
+  pythonImportsCheck = [ "txdbus" ];
+
+  meta = with stdenv.lib; {
+    description = "Native Python implementation of DBus for Twisted";
+    homepage = "https://github.com/cocagne/txdbus";
+    license = licenses.mit;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ geistesk ];
+  };
+}