Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
64 lines
1.1 KiB
Nix
64 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
mkKdeDerivation,
|
|
fetchFromGitLab,
|
|
qttools,
|
|
potrace,
|
|
ffmpeg,
|
|
libarchive,
|
|
python3Packages,
|
|
testers,
|
|
glaxnimate,
|
|
xvfb-run,
|
|
}:
|
|
|
|
mkKdeDerivation rec {
|
|
pname = "glaxnimate";
|
|
version = "0.5.80";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "invent.kde.org";
|
|
owner = "graphics";
|
|
repo = "glaxnimate";
|
|
tag = "v${version}";
|
|
fetchSubmodules = true;
|
|
hash = "sha256-+4vvp9nxtpKUOojgQL9T5Eyv9eMCGGwmDAex91XPwyA=";
|
|
};
|
|
|
|
extraBuildInputs = [
|
|
qttools
|
|
potrace
|
|
ffmpeg
|
|
libarchive
|
|
# Has vendored `qt-color-widgets` and `pybind11`.
|
|
];
|
|
|
|
qtWrapperArgs = [
|
|
"--prefix PYTHONPATH : ${
|
|
python3Packages.makePythonPath [
|
|
python3Packages.pillow
|
|
python3Packages.lottie
|
|
]
|
|
}"
|
|
];
|
|
|
|
passthru.tests.version = testers.testVersion {
|
|
package = glaxnimate;
|
|
command = "${lib.getExe xvfb-run} glaxnimate --version";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://glaxnimate.org/";
|
|
license = with lib.licenses; [
|
|
bsd2
|
|
cc-by-sa-40
|
|
cc0
|
|
gpl2Plus
|
|
gpl3Plus
|
|
unicodeTOU
|
|
];
|
|
maintainers = [ lib.maintainers.tobiasBora ];
|
|
mainProgram = "glaxnimate";
|
|
};
|
|
}
|