aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/ha-ffmpeg
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/ha-ffmpeg')
-rw-r--r--nixpkgs/pkgs/development/python-modules/ha-ffmpeg/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/ha-ffmpeg/default.nix b/nixpkgs/pkgs/development/python-modules/ha-ffmpeg/default.nix
new file mode 100644
index 00000000000..0b702901ae7
--- /dev/null
+++ b/nixpkgs/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.11";
+
+ disabled = !isPy3k;
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "386cc5bbec3a341d8bafec1c524bd8e64f41f9be8195808dec80f76661bf1cc3";
+ };
+
+ 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 ];
+ };
+}