lol

libsForQt5.qtmpris: init at 1.0.6

authored by

Robert Schütz and committed by
Robert Schütz
a5e825e3 1b0c93d8

+42
+40
pkgs/development/libraries/qtmpris/default.nix
··· 1 + { lib 2 + , mkDerivation 3 + , fetchFromGitHub 4 + , qmake 5 + , qtbase 6 + }: 7 + 8 + mkDerivation rec { 9 + pname = "qtmpris"; 10 + version = "1.0.6"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "sailfishos"; 14 + repo = "qtmpris"; 15 + rev = version; 16 + hash = "sha256-kuM8hUdsa7N+eLDbwYw3ay+PWxg35zcTBOvGow1NlzI="; 17 + }; 18 + 19 + postPatch = '' 20 + substituteInPlace src/src.pro \ 21 + --replace '$$[QT_INSTALL_LIBS]' "$out/lib" \ 22 + --replace '$$[QT_INSTALL_HEADERS]' "$out/include" \ 23 + --replace '$$[QMAKE_MKSPECS]' "$out/mkspecs" 24 + ''; 25 + 26 + nativeBuildInputs = [ 27 + qmake 28 + ]; 29 + 30 + buildInputs = [ 31 + qtbase 32 + ]; 33 + 34 + meta = { 35 + description = "Qt and QML MPRIS interface and adaptor"; 36 + homepage = "https://github.com/sailfishos/qtmpris"; 37 + license = lib.licenses.lgpl21Plus; 38 + maintainers = with lib.maintainers; [ dotlambda ]; 39 + }; 40 + }
+2
pkgs/top-level/qt5-packages.nix
··· 203 203 inherit (pkgs.darwin.apple_sdk.frameworks) CoreFoundation Security; 204 204 }; 205 205 206 + qtmpris = callPackage ../development/libraries/qtmpris { }; 207 + 206 208 qtpbfimageplugin = callPackage ../development/libraries/qtpbfimageplugin { }; 207 209 208 210 qtstyleplugins = callPackage ../development/libraries/qtstyleplugins { };