about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pybluez
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-16 10:47:35 -0400
committerFrederik Rietdijk <fridh@fridh.nl>2018-10-17 07:46:58 +0200
commit0c1af32ed6faaf7eaac52e68a3820be20ae9885b (patch)
treece0c2abe75676ebfd33ed103e5475b2c56415010 /pkgs/development/python-modules/pybluez
parent04169f4c3cb27c82997c451ee03704e2ec8a4771 (diff)
pythonPackages.pybluez: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/pybluez')
-rw-r--r--pkgs/development/python-modules/pybluez/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pybluez/default.nix b/pkgs/development/python-modules/pybluez/default.nix
new file mode 100644
index 0000000000000..6ceca20fdd171
--- /dev/null
+++ b/pkgs/development/python-modules/pybluez/default.nix
@@ -0,0 +1,29 @@
+{ stdenv
+, buildPythonPackage
+, fetchFromGitHub
+, pkgs
+}:
+
+buildPythonPackage rec {
+  version = "unstable-20160819";
+  pname = "pybluez";
+
+  propagatedBuildInputs = [ pkgs.bluez ];
+
+  src = fetchFromGitHub {
+    owner = "karulis";
+    repo = "${pname}";
+    rev = "a0b226a61b166e170d48539778525b31e47a4731";
+    sha256 = "104dm5ngfhqisv1aszdlr3szcav2g3bhsgzmg4qfs09b3i5zj047";
+  };
+
+  # the tests do not pass
+  doCheck = false;
+
+  meta = with stdenv.lib; {
+    description = "Bluetooth Python extension module";
+    license = licenses.gpl2;
+    maintainers = with maintainers; [ leenaars ];
+  };
+
+}