summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-03-05 23:10:23 +0100
committermakefu <github@syntax-fehler.de>2018-03-05 23:10:23 +0100
commitca1d401aaf7bd760f262cfaea1e4fe42e0e17888 (patch)
tree77d5017cf206f8bacb882f0f78ac5347ba88c09f /makefu/5pkgs
parent54c439f4f432085ae27bc4e711c55fe5d45a78fc (diff)
ma pkgs.python-firetv: init
Diffstat (limited to 'makefu/5pkgs')
-rw-r--r--makefu/5pkgs/python-firetv/default.nix41
1 files changed, 41 insertions, 0 deletions
diff --git a/makefu/5pkgs/python-firetv/default.nix b/makefu/5pkgs/python-firetv/default.nix
new file mode 100644
index 00000000..04c76ac5
--- /dev/null
+++ b/makefu/5pkgs/python-firetv/default.nix
@@ -0,0 +1,41 @@
+{ lib, pkgs, python2Packages, ... }:
+# requires libusb1 from unstable
+with (import <nixpkgs-unstable> {}).python2Packages; let
+
+ python-adb = buildPythonPackage rec {
+ name = "python-adb-${version}";
+ version = "1.2.0";
+
+ src = pkgs.fetchFromGitHub {
+ owner = "google";
+ repo = "python-adb";
+ rev = "28d912a";
+ sha256 = "1cy18l96v72hrhf21im5i8hlzd8ilv0vcck026npnxiw095a5hm2";
+ };
+
+ propagatedBuildInputs = [ libusb1 m2crypto ];
+ meta = {
+ homepage = https://github.com/google/python-adb;
+ description = "Python ADB + Fastboot implementation";
+ license = lib.licenses.apache2;
+ };
+ };
+in
+ buildPythonPackage rec {
+ name = "python-firetv-${version}";
+ version = "1.0.5";
+
+ src = pkgs.fetchFromGitHub {
+ owner = "happyleavesaoc";
+ repo = "python-firetv";
+ rev = version;
+ sha256 = "0j5p8jg13hc9gcbv0ipxgljrpcxk8b7k4p4kyfhmblpjm51mycs3";
+ };
+
+ propagatedBuildInputs = [ python-adb flask pyyaml ];
+ meta = {
+ homepage = https://github.com/happyleavesaoc/python-firetv;
+ description = "provides state informations and some control of an amazon firetv";
+ license = lib.licenses.mit;
+ };
+}