1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 09:31:01 +00:00
nixpkgs/pkgs/applications/video/qmediathekview/default.nix

33 lines
874 B
Nix
Raw Normal View History

{ mkDerivation, lib, fetchFromGitHub, qtbase, qttools, xz, boost, qmake, pkg-config }:
2018-02-03 21:18:25 +00:00
2020-04-07 21:28:34 +01:00
mkDerivation rec {
2018-02-03 21:18:25 +00:00
pname = "QMediathekView";
version = "2019-01-06";
2018-02-03 21:18:25 +00:00
src = fetchFromGitHub {
owner = "adamreichold";
repo = pname;
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 pkg-config ];
2018-02-03 21:18:25 +00:00
installFlags = [ "INSTALL_ROOT=$(out)" ];
meta = with lib; {
2018-02-03 21:18:25 +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;
2018-02-03 21:18:25 +00:00
maintainers = with maintainers; [ dotlambda ];
};
}