diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-03-13 21:30:41 +0100 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-03-13 22:17:32 +0100 |
commit | d38c414d94881127a9ad47708f94f14b23beea36 (patch) | |
tree | 18cff4cda9b9b9d3d49df28b4f006a641c1004d5 /pkgs/applications/video/qarte | |
parent | 9402dbe25d828fb7e2c44170a93f29aae9245bfa (diff) | |
download | nixlib-d38c414d94881127a9ad47708f94f14b23beea36.tar nixlib-d38c414d94881127a9ad47708f94f14b23beea36.tar.gz nixlib-d38c414d94881127a9ad47708f94f14b23beea36.tar.bz2 nixlib-d38c414d94881127a9ad47708f94f14b23beea36.tar.lz nixlib-d38c414d94881127a9ad47708f94f14b23beea36.tar.xz nixlib-d38c414d94881127a9ad47708f94f14b23beea36.tar.zst nixlib-d38c414d94881127a9ad47708f94f14b23beea36.zip |
Adds Qarte
Qarte allows you to browse into the archives of arte+7 & arteLiveWeb sites and to record your preferred videos. Homepage: https://launchpad.net/qarte
Diffstat (limited to 'pkgs/applications/video/qarte')
-rw-r--r-- | pkgs/applications/video/qarte/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/applications/video/qarte/default.nix b/pkgs/applications/video/qarte/default.nix new file mode 100644 index 000000000000..a7e8cd8c1b9a --- /dev/null +++ b/pkgs/applications/video/qarte/default.nix @@ -0,0 +1,37 @@ +{ stdenv, fetchbzr, python, pyqt4, sip, rtmpdump, makeWrapper }: + +stdenv.mkDerivation { + name = "qarte-2.2.0"; + src = fetchbzr { + url = http://bazaar.launchpad.net/~vincent-vandevyvre/qarte/trunk; + rev = "146"; + sha256 = "0vqhxrzb3d7id81sr02h78hn0m7k2x0yxk9cl36pr5vx3vjnsyi9"; + }; + + 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; + }; +} |