Files
nixpkgs/pkgs/by-name/st/stopmotion/package.nix
quantenzitrone 6b61249106 various: switch to finalAttrs pattern
this shouldn't create any rebuilds
2026-01-30 02:36:22 +01:00

46 lines
833 B
Nix

{
lib,
stdenv,
fetchgit,
cmake,
pkg-config,
qt6,
libvorbis,
libarchive,
libxml2,
}:
stdenv.mkDerivation (finalAttrs: {
version = "0.9.0";
pname = "stopmotion";
src = fetchgit {
url = "https://invent.kde.org/multimedia/stopmotion";
rev = finalAttrs.version;
hash = "sha256-RsFqvAmTJBVg32bnY2eA9jWWnuHgv66rZiWMqa6sviw=";
};
nativeBuildInputs = [
cmake
pkg-config
qt6.wrapQtAppsHook
];
buildInputs = [
qt6.qtbase
qt6.qttools
qt6.qtmultimedia
libvorbis
libarchive
libxml2
];
meta = {
description = "Create stop-motion animation movies";
homepage = "http://linuxstopmotion.org/";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.bjornfor ];
mainProgram = "stopmotion";
};
})