2015-03-13 20:30:41 +00:00
|
|
|
{ stdenv, fetchbzr, python, pyqt4, sip, rtmpdump, makeWrapper }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2015-07-30 19:18:07 +01:00
|
|
|
name = "qarte-2.3.0";
|
2015-03-13 20:30:41 +00:00
|
|
|
src = fetchbzr {
|
|
|
|
url = http://bazaar.launchpad.net/~vincent-vandevyvre/qarte/trunk;
|
2015-07-30 19:18:07 +01:00
|
|
|
rev = "148";
|
|
|
|
sha256 = "0bp2qbl2g3dygmb31lwlarki9lybkb9zxixda4lwrlz628w93fxh";
|
2015-03-13 20:30:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mv qarte $out/bin/
|
|
|
|
substituteInPlace $out/bin/qarte \
|
|
|
|
--replace '/usr/bin/python' "${python.interpreter}" \
|
|
|
|
--replace '/usr/share' "$out/share"
|
|
|
|
wrapProgram $out/bin/qarte \
|
|
|
|
--prefix PYTHONPATH : "${pyqt4}/lib/${python.libPrefix}/site-packages:${sip}/lib/${python.libPrefix}/site-packages" \
|
|
|
|
--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;
|
|
|
|
};
|
|
|
|
}
|