2016-08-29 11:31:59 +01:00
|
|
|
{ stdenv, fetchbzr, python3, rtmpdump, makeWrapper }:
|
2015-03-13 20:30:41 +00:00
|
|
|
|
2016-08-14 11:37:20 +01:00
|
|
|
let
|
2016-08-29 11:31:59 +01:00
|
|
|
pythonEnv = python3.withPackages (ps: with ps; [ pyqt5 sip ]);
|
2016-08-14 11:37:20 +01:00
|
|
|
in stdenv.mkDerivation {
|
2017-01-14 16:03:56 +00:00
|
|
|
name = "qarte-3.2.0+158";
|
2015-03-13 20:30:41 +00:00
|
|
|
src = fetchbzr {
|
2016-08-24 18:16:30 +01:00
|
|
|
url = http://bazaar.launchpad.net/~vincent-vandevyvre/qarte/qarte-3;
|
2017-01-14 16:03:56 +00:00
|
|
|
rev = "158";
|
|
|
|
sha256 = "0nj9yxylz1nz0hdjm0jzrq2l3dgfdqkafwxnzydp6qv6261w564n";
|
2015-03-13 20:30:41 +00:00
|
|
|
};
|
|
|
|
|
2016-08-29 11:31:59 +01:00
|
|
|
buildInputs = [ makeWrapper pythonEnv ];
|
2015-03-13 20:30:41 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mv qarte $out/bin/
|
|
|
|
substituteInPlace $out/bin/qarte \
|
|
|
|
--replace '/usr/share' "$out/share"
|
|
|
|
wrapProgram $out/bin/qarte \
|
|
|
|
--prefix PATH : "${rtmpdump}/bin"
|
|
|
|
|
|
|
|
mkdir -p $out/share/man/man1/
|
|
|
|
mv qarte.1 $out/share/man/man1/
|
|
|
|
|
|
|
|
mkdir -p $out/share/qarte
|
|
|
|
mv * $out/share/qarte/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://launchpad.net/qarte;
|
|
|
|
description = "A recorder for Arte TV Guide and Arte Concert";
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|