Skip to content

Commit

Permalink
pythonPackages.ha-ffmpeg: init at 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhoeg authored and Robert Schütz committed Mar 4, 2018
1 parent 4af9a88 commit 083ac5a
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pkgs/development/python-modules/ha-ffmpeg/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ in {
hdf5 = pkgs.hdf5-mpi;
};

ha-ffmpeg = callPackage ../development/python-modules/ha-ffmpeg { };

habanero = callPackage ../development/python-modules/habanero { };

i3ipc = callPackage ../development/python-modules/i3ipc { };
Expand Down

0 comments on commit 083ac5a

Please sign in to comment.