musescore: Switch to wrapQtAppsHook and stdenv.mkDerivation

The usage of libsForQt5's mkDerivation is deprecated.
This commit is contained in:
Doron Behar 2023-07-14 15:08:05 +03:00
parent 85b756369f
commit 4416f5b78a

View File

@ -1,8 +1,9 @@
{ mkDerivation { stdenv
, lib , lib
, fetchFromGitHub , fetchFromGitHub
, fetchpatch , fetchpatch
, cmake , cmake
, wrapQtAppsHook
, pkg-config , pkg-config
, ninja , ninja
, alsa-lib , alsa-lib
@ -30,7 +31,7 @@
, nixosTests , nixosTests
}: }:
mkDerivation rec { stdenv.mkDerivation rec {
pname = "musescore"; pname = "musescore";
version = "4.1.0"; version = "4.1.0";
@ -60,6 +61,7 @@ mkDerivation rec {
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
wrapQtAppsHook
cmake cmake
pkg-config pkg-config
ninja ninja