about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pure-python-adb-homeassistant
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pure-python-adb-homeassistant')
-rw-r--r--nixpkgs/pkgs/development/python-modules/pure-python-adb-homeassistant/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pure-python-adb-homeassistant/default.nix b/nixpkgs/pkgs/development/python-modules/pure-python-adb-homeassistant/default.nix
new file mode 100644
index 000000000000..8e40d182212d
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/pure-python-adb-homeassistant/default.nix
@@ -0,0 +1,26 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+}:
+buildPythonPackage rec {
+  pname = "pure-python-adb-homeassistant";
+  version = "0.1.7.dev0";
+
+  src = fetchPypi {
+    inherit pname version;
+    hash = "sha256-xXXEp8oYGcJLTfoBDUSZrIHSgDvB2EHbVMHoG4Hk+t8=";
+  };
+
+  # Disable tests as they require docker, docker-compose and a dedicated
+  # android emulator
+  doCheck = false;
+
+  pythonImportsCheck = [ "adb_messenger" ];
+
+  meta = with lib; {
+    description = "Python implementation of the ADB client";
+    homepage = "https://github.com/JeffLIrion/pure-python-adb";
+    license = licenses.mit;
+    maintainers = [ maintainers.makefu ];
+  };
+}