2018-02-03 21:18:25 +00:00
|
|
|
{ stdenv, fetchFromGitHub, qtbase, qttools, xz, boost, qmake, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "QMediathekView";
|
2019-01-10 17:20:15 +00:00
|
|
|
version = "2019-01-06";
|
2018-02-03 21:18:25 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "adamreichold";
|
|
|
|
repo = pname;
|
2019-01-10 17:20:15 +00:00
|
|
|
rev = "e098aaec552ec4e367078bf19953a08067316b4b";
|
|
|
|
sha256 = "0i9hac9alaajbra3lx23m0iiq6ww4is00lpbzg5x70agjrwj0nd6";
|
2018-02-03 21:18:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
2018-02-10 21:07:08 +00:00
|
|
|
platforms = platforms.linux;
|
2018-02-03 21:18:25 +00:00
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|