summary refs log tree commit diff
path: root/pkgs/development/python-modules/txdbus/default.nix
diff options
context:
space:
mode:
authorgeistesk <github.jyf300hj@0x21.biz>2020-05-15 22:17:41 +0200
committerJon <jonringer@users.noreply.github.com>2020-05-18 18:06:30 -0700
commitfe7d3db9c6de37e9a3a8f39a47361445f6cd6f78 (patch)
tree04660c88fd9b1507e701c283ddc139f9e2c0b621 /pkgs/development/python-modules/txdbus/default.nix
parent740f4ba1adb7558e25353bac9356e0840934bbe5 (diff)
downloadnixpkgs-fe7d3db9c6de37e9a3a8f39a47361445f6cd6f78.tar
nixpkgs-fe7d3db9c6de37e9a3a8f39a47361445f6cd6f78.tar.gz
nixpkgs-fe7d3db9c6de37e9a3a8f39a47361445f6cd6f78.tar.bz2
nixpkgs-fe7d3db9c6de37e9a3a8f39a47361445f6cd6f78.tar.lz
nixpkgs-fe7d3db9c6de37e9a3a8f39a47361445f6cd6f78.tar.xz
nixpkgs-fe7d3db9c6de37e9a3a8f39a47361445f6cd6f78.tar.zst
nixpkgs-fe7d3db9c6de37e9a3a8f39a47361445f6cd6f78.zip
pythonPackage.txdbus: init at 1.1.0
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 00000000000..0fbe4900f9e
--- /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 ];
+  };
+}