2017-03-04 18:49:39 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
with import <stockholm/lib>;
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
stream = pkgs.writeDashBin "stream" ''
|
2017-03-04 21:01:03 +00:00
|
|
|
${pkgs.python27Packages.livestreamer}/bin/livestreamer --http-header Client-ID=jzkbprff40iqj646a697cyrvl0zt2m6 -p mpv "$@"
|
2017-03-04 18:49:39 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
in {
|
|
|
|
environment.systemPackages = [ stream ];
|
|
|
|
}
|