2021-05-08 14:37:42 +03:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, mkDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, boost
|
|
|
|
, qtbase
|
|
|
|
, xz
|
|
|
|
, qmake
|
|
|
|
, pkg-config
|
|
|
|
}:
|
2018-02-04 00:18:25 +03:00
|
|
|
|
2020-04-07 23:28:34 +03:00
|
|
|
mkDerivation rec {
|
2018-02-04 00:18:25 +03:00
|
|
|
pname = "QMediathekView";
|
2021-05-08 14:37:42 +03:00
|
|
|
version = "0.2.1";
|
2018-02-04 00:18:25 +03:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "adamreichold";
|
|
|
|
repo = pname;
|
2021-05-08 14:37:42 +03:00
|
|
|
rev = "v${version}";
|
2019-01-10 20:20:15 +03:00
|
|
|
sha256 = "0i9hac9alaajbra3lx23m0iiq6ww4is00lpbzg5x70agjrwj0nd6";
|
2018-02-04 00:18:25 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace ${pname}.pro \
|
|
|
|
--replace /usr ""
|
|
|
|
'';
|
|
|
|
|
2021-05-08 14:37:42 +03:00
|
|
|
buildInputs = [ qtbase xz boost ];
|
2018-02-04 00:18:25 +03:00
|
|
|
|
2021-01-17 05:09:27 +03:00
|
|
|
nativeBuildInputs = [ qmake pkg-config ];
|
2018-02-04 00:18:25 +03:00
|
|
|
|
|
|
|
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
|
|
|
|
2021-01-11 10:54:33 +03:00
|
|
|
meta = with lib; {
|
2018-02-04 00:18:25 +03:00
|
|
|
description = "An alternative Qt-based front-end for the database maintained by the MediathekView project";
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
license = licenses.gpl3Plus;
|
2018-02-11 00:07:08 +03:00
|
|
|
platforms = platforms.linux;
|
2018-02-04 00:18:25 +03:00
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
2021-05-08 14:37:42 +03:00
|
|
|
broken = stdenv.isAarch64;
|
2018-02-04 00:18:25 +03:00
|
|
|
};
|
|
|
|
}
|