nixpkgs/pkgs/applications/video/qmediathekview/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

44 lines
903 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 = pname;
rev = "v${version}";
sha256 = "0i9hac9alaajbra3lx23m0iiq6ww4is00lpbzg5x70agjrwj0nd6";
};
postPatch = ''
substituteInPlace ${pname}.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.isAarch64;
mainProgram = "QMediathekView";
};
}