2021-02-05 17:12:51 +00:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, qtbase, qttools, xz, boost, qmake, pkg-config }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "QMediathekView";
|
|
|
|
version = "2019-01-06";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "adamreichold";
|
|
|
|
repo = pname;
|
|
|
|
rev = "e098aaec552ec4e367078bf19953a08067316b4b";
|
|
|
|
sha256 = "0i9hac9alaajbra3lx23m0iiq6ww4is00lpbzg5x70agjrwj0nd6";
|
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace ${pname}.pro \
|
|
|
|
--replace /usr ""
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ qtbase qttools xz boost ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ qmake pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|