diff options
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/mkvtoolnix/default.nix | 8 | ||||
-rw-r--r-- | pkgs/applications/video/streamlink/default.nix | 30 |
2 files changed, 33 insertions, 5 deletions
diff --git a/pkgs/applications/video/mkvtoolnix/default.nix b/pkgs/applications/video/mkvtoolnix/default.nix index 22072ca742c1..0d02377b7140 100644 --- a/pkgs/applications/video/mkvtoolnix/default.nix +++ b/pkgs/applications/video/mkvtoolnix/default.nix @@ -22,11 +22,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig autoconf automake gettext ruby ]; buildInputs = [ - expat - file xdg_utils boost libebml zlib - libmatroska libogg libvorbis flac - (optional withGUI qt5.qtbase) - ]; + expat file xdg_utils boost libebml zlib libmatroska libogg + libvorbis flac + ] ++ optional withGUI qt5.qtbase; preConfigure = "./autogen.sh; patchShebangs ."; buildPhase = "./drake -j $NIX_BUILD_CORES"; diff --git a/pkgs/applications/video/streamlink/default.nix b/pkgs/applications/video/streamlink/default.nix new file mode 100644 index 000000000000..cca1ed34f6dc --- /dev/null +++ b/pkgs/applications/video/streamlink/default.nix @@ -0,0 +1,30 @@ +{ stdenv, pythonPackages, fetchFromGitHub, rtmpdump }: + +pythonPackages.buildPythonApplication rec { + version = "1.14.0-rc1"; + name = "streamlink-${version}"; + + src = fetchFromGitHub { + owner = "streamlink"; + repo = "streamlink"; + rev = "ffc099b16b9a9d2c0c44081d687c50ee2e935f29"; + sha256 = "0ix2k2yd2jzcazkjjb0iczr4bv7pgx873k7bhxgb9zwplklxpw1k"; + }; + + propagatedBuildInputs = (with pythonPackages; [ pycrypto requests2 ]) ++ [ rtmpdump ]; + + meta = with stdenv.lib; { + homepage = https://github.com/streamlink/streamlink; + description = "CLI for extracting streams from various websites to video player of your choosing"; + longDescription = '' + Streamlink is a CLI utility that pipes flash videos from online + streaming services to a variety of video players such as VLC, or + alternatively, a browser. + + Streamlink is a fork of the livestreamer project. + ''; + license = licenses.bsd2; + platforms = platforms.linux; + maintainers = [ maintainers.dezgeg ]; + }; +} |