mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
Merge pull request #12699 from simonvandel/sundtek
sundtek: 2015-12-12 -> 2016-01-26 + service change
This commit is contained in:
commit
dbb01a863b
@ -23,7 +23,7 @@ in
|
|||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
ExecStart = ''
|
ExecStart = ''
|
||||||
${pkgs.sundtek}/bin/mediasrv -d -v -p ${pkgs.sundtek}/bin ;\
|
${pkgs.sundtek}/bin/mediasrv -d -v -p ${pkgs.sundtek}/bin ;\
|
||||||
${pkgs.sundtek}/bin/mediaclient --start=5 --wait-for-devices
|
${pkgs.sundtek}/bin/mediaclient --start --wait-for-devices
|
||||||
'';
|
'';
|
||||||
ExecStop = "${pkgs.sundtek}/bin/mediaclient --shutdown";
|
ExecStop = "${pkgs.sundtek}/bin/mediaclient --shutdown";
|
||||||
RemainAfterExit = true;
|
RemainAfterExit = true;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2015-12-12";
|
version = "2016-01-26";
|
||||||
rpath = makeLibraryPath [ "$out/lib" "$out/bin" ];
|
rpath = makeLibraryPath [ "$out/lib" "$out/bin" ];
|
||||||
platform = with stdenv;
|
platform = with stdenv;
|
||||||
if isx86_64 then "64bit"
|
if isx86_64 then "64bit"
|
||||||
@ -15,7 +15,7 @@ in
|
|||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.sundtek.de/media/netinst/${platform}/installer.tar.gz";
|
url = "http://www.sundtek.de/media/netinst/${platform}/installer.tar.gz";
|
||||||
sha256 = "0pjg4xww25z36dp64az4gdc0fxhz51f5kb8zvj03hqc774fxzpbq";
|
sha256 = "15y6r5w306pcq4g1rn9f7vf70f3a7qhq237ngaf0wxh2nr0aamxp";
|
||||||
};
|
};
|
||||||
name = "sundtek-${version}";
|
name = "sundtek-${version}";
|
||||||
|
|
||||||
@ -38,6 +38,8 @@ in
|
|||||||
patchelf --set-rpath ${rpath} {} \;
|
patchelf --set-rpath ${rpath} {} \;
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
preferLocalBuild = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Sundtek MediaTV driver";
|
description = "Sundtek MediaTV driver";
|
||||||
maintainers = [ maintainers.simonvandel ];
|
maintainers = [ maintainers.simonvandel ];
|
||||||
|
Loading…
Reference in New Issue
Block a user