parent
46e98ccc96
commit
3ea085d8d7
@ -37,19 +37,20 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "glaxnimate";
|
pname = "glaxnimate";
|
||||||
version = "0.5.1";
|
version = "0.5.4";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = "mattbas";
|
owner = "mattbas";
|
||||||
repo = "${pname}";
|
repo = "${pname}";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "G4ykcOvXXnVIQZUYpRIrALtDSsGqxMvDtcmobjjtlKw=";
|
sha256 = "sha256-8oHJCQdP2xxSSDM0MDkSrG89WgCtMKm1AKlddnq3gig=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
wrapQtAppsHook
|
wrapQtAppsHook
|
||||||
|
qttools
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -65,6 +66,10 @@ stdenv.mkDerivation rec {
|
|||||||
python3WithLibs
|
python3WithLibs
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Translation needs to be separately compiled
|
||||||
|
# https://gitlab.com/mattbas/glaxnimate/-/issues/648
|
||||||
|
buildFlags = [ "translations" ];
|
||||||
|
|
||||||
qtWrapperArgs = [ ''--prefix PATH : ${python3WithLibs}/bin'' ];
|
qtWrapperArgs = [ ''--prefix PATH : ${python3WithLibs}/bin'' ];
|
||||||
|
|
||||||
passthru.tests.version = lib.optionalAttrs stdenv.isLinux (testers.testVersion {
|
passthru.tests.version = lib.optionalAttrs stdenv.isLinux (testers.testVersion {
|
||||||
|
Loading…
Reference in New Issue
Block a user