diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-02-10 10:08:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-10 10:08:59 +0000 |
commit | 1307ffdcd28d3c0d2a38e734dd3c7e267b44dc6a (patch) | |
tree | aacfe123de2433d6d7c4821e097a7c9ece49e50a /pkgs/applications/video | |
parent | 9fab083b792ad32b788363e158dcd8455fc14f82 (diff) | |
parent | 896ea4b731bfd98e95bc3b344b7428089de3a3b1 (diff) |
Merge pull request #34566 from dotlambda/qmediathekview
qmediathekview: init at 2017-04-16
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/qmediathekview/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/video/qmediathekview/default.nix b/pkgs/applications/video/qmediathekview/default.nix new file mode 100644 index 0000000000000..9d34ab72f0cf9 --- /dev/null +++ b/pkgs/applications/video/qmediathekview/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchFromGitHub, qtbase, qttools, xz, boost, qmake, pkgconfig }: + +stdenv.mkDerivation rec { + pname = "QMediathekView"; + version = "2017-04-16"; + name = "${pname}-${version}"; + + src = fetchFromGitHub { + owner = "adamreichold"; + repo = pname; + rev = "8c69892b95bf6825bd06a8c594168a98fe7cb2d1"; + sha256 = "1wca1w4iywd3hmiwcqx6fv79p3x5n1cgbw2liw3hs24ch3z54ckm"; + }; + + postPatch = '' + substituteInPlace ${pname}.pro \ + --replace /usr "" + ''; + + buildInputs = [ qtbase qttools xz boost ]; + + nativeBuildInputs = [ qmake pkgconfig ]; + + installFlags = [ "INSTALL_ROOT=$(out)" ]; + + meta = with stdenv.lib; { + description = "An alternative Qt-based front-end for the database maintained by the MediathekView project"; + inherit (src.meta) homepage; + license = licenses.gpl3Plus; + platforms = [ "i686-linux" "x86_64-linux" ]; + maintainers = with maintainers; [ dotlambda ]; + }; +} |