summary refs log tree commit diff
path: root/pkgs/development/python-modules/ha-ffmpeg
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2018-02-28 13:39:47 +0800
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-03-04 23:43:06 +0100
commit083ac5add309581dc94b6f96dafc7f113a2909c7 (patch)
tree8f7114df5c3ced7c28683de5cc6588cc32e7beef /pkgs/development/python-modules/ha-ffmpeg
parent4af9a88107bb7a593bb49c70670c8d917898201c (diff)
downloadnixpkgs-083ac5add309581dc94b6f96dafc7f113a2909c7.tar
nixpkgs-083ac5add309581dc94b6f96dafc7f113a2909c7.tar.gz
nixpkgs-083ac5add309581dc94b6f96dafc7f113a2909c7.tar.bz2
nixpkgs-083ac5add309581dc94b6f96dafc7f113a2909c7.tar.lz
nixpkgs-083ac5add309581dc94b6f96dafc7f113a2909c7.tar.xz
nixpkgs-083ac5add309581dc94b6f96dafc7f113a2909c7.tar.zst
nixpkgs-083ac5add309581dc94b6f96dafc7f113a2909c7.zip
pythonPackages.ha-ffmpeg: init at 1.9
Diffstat (limited to 'pkgs/development/python-modules/ha-ffmpeg')
-rw-r--r--pkgs/development/python-modules/ha-ffmpeg/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ha-ffmpeg/default.nix b/pkgs/development/python-modules/ha-ffmpeg/default.nix
new file mode 100644
index 00000000000..4259b7ad053
--- /dev/null
+++ b/pkgs/development/python-modules/ha-ffmpeg/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, buildPythonPackage, fetchPypi, isPy3k
+, ffmpeg, async-timeout }:
+
+buildPythonPackage rec {
+  pname = "ha-ffmpeg";
+  version = "1.9";
+
+  disabled = !isPy3k;
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0644j5fqw8p6li6nrnm1rw7nhvsixq1c7gik3f1yx50776yg05i8";
+  };
+
+  buildInputs = [ ffmpeg ];
+
+  propagatedBuildInputs = [ async-timeout ];
+
+  # only manual tests
+  doCheck = false;
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/pvizeli/ha-ffmpeg;
+    description = "Library for home-assistant to handle ffmpeg";
+    license = licenses.bsd3;
+    maintainers = with maintainers; [ peterhoeg ];
+  };
+}