1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 09:53:17 +00:00
nixpkgs/pkgs/applications/video/qmediathekview/default.nix
2018-02-10 22:07:08 +01:00

34 lines
907 B
Nix

{ 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 = platforms.linux;
maintainers = with maintainers; [ dotlambda ];
};
}