nixpkgs/pkgs/applications/video/streamlink/default.nix
R. RyanTM 5d402612d5 streamlink: 0.10.0 -> 0.12.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/streamlink/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/7rxcwgcznrsqj6kkvrxi8j2ggjx3il4v-streamlink-0.12.1/bin/.streamlink-wrapped -h’ got 0 exit code
- ran ‘/nix/store/7rxcwgcznrsqj6kkvrxi8j2ggjx3il4v-streamlink-0.12.1/bin/.streamlink-wrapped --help’ got 0 exit code
- ran ‘/nix/store/7rxcwgcznrsqj6kkvrxi8j2ggjx3il4v-streamlink-0.12.1/bin/.streamlink-wrapped -V’ and found version 0.12.1
- ran ‘/nix/store/7rxcwgcznrsqj6kkvrxi8j2ggjx3il4v-streamlink-0.12.1/bin/.streamlink-wrapped --version’ and found version 0.12.1
- ran ‘/nix/store/7rxcwgcznrsqj6kkvrxi8j2ggjx3il4v-streamlink-0.12.1/bin/streamlink -h’ got 0 exit code
- ran ‘/nix/store/7rxcwgcznrsqj6kkvrxi8j2ggjx3il4v-streamlink-0.12.1/bin/streamlink --help’ got 0 exit code
- ran ‘/nix/store/7rxcwgcznrsqj6kkvrxi8j2ggjx3il4v-streamlink-0.12.1/bin/streamlink -V’ and found version 0.12.1
- ran ‘/nix/store/7rxcwgcznrsqj6kkvrxi8j2ggjx3il4v-streamlink-0.12.1/bin/streamlink --version’ and found version 0.12.1
- found 0.12.1 with grep in /nix/store/7rxcwgcznrsqj6kkvrxi8j2ggjx3il4v-streamlink-0.12.1
- directory tree listing: https://gist.github.com/09fbfb8c035d471bd38a592acf455d9a
2018-05-12 14:49:37 +03:00

33 lines
1.1 KiB
Nix

{ stdenv, pythonPackages, fetchFromGitHub, rtmpdump, ffmpeg }:
pythonPackages.buildPythonApplication rec {
version = "0.12.1";
name = "streamlink-${version}";
src = fetchFromGitHub {
owner = "streamlink";
repo = "streamlink";
rev = "${version}";
sha256 = "0r63fjp5qhnbp5kr4w2nn3gnj0wr0ik1pw1gyry8jl9rp2jq9db5";
};
checkInputs = with pythonPackages; [ pytest mock requests-mock ];
propagatedBuildInputs = (with pythonPackages; [ pycryptodome requests iso-639 iso3166 websocket_client ]) ++ [ rtmpdump ffmpeg ];
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 = with maintainers; [ dezgeg zraexy ];
};
}