Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
52 lines
968 B
Nix
52 lines
968 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
mkDerivation,
|
|
fetchFromGitHub,
|
|
boost,
|
|
qtbase,
|
|
xz,
|
|
qmake,
|
|
pkg-config,
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "QMediathekView";
|
|
version = "0.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "adamreichold";
|
|
repo = "QMediathekView";
|
|
rev = "v${version}";
|
|
sha256 = "0i9hac9alaajbra3lx23m0iiq6ww4is00lpbzg5x70agjrwj0nd6";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace QMediathekView.pro \
|
|
--replace /usr ""
|
|
'';
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
xz
|
|
boost
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
qmake
|
|
pkg-config
|
|
];
|
|
|
|
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
|
|
|
meta = with lib; {
|
|
description = "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 ];
|
|
broken = stdenv.hostPlatform.isAarch64;
|
|
mainProgram = "QMediathekView";
|
|
};
|
|
}
|