1{ mkDerivation, lib, fetchgit, pkg-config, qmake, qtbase, qttools, qtmultimedia, libvorbis, libtar, libxml2 }:
2
3mkDerivation rec {
4 version = "0.8.5";
5 pname = "linuxstopmotion";
6
7 src = fetchgit {
8 url = "https://git.code.sf.net/p/linuxstopmotion/code";
9 rev = version;
10 sha256 = "1612lkwsfzc59wvdj2zbj5cwsyw66bwn31jrzjrxvygxdh4ab069";
11 };
12
13 nativeBuildInputs = [ qmake pkg-config ];
14 buildInputs = [ qtbase qttools qtmultimedia libvorbis libtar libxml2 ];
15
16 postPatch = ''
17 substituteInPlace stopmotion.pro --replace '$$[QT_INSTALL_BINS]' '${lib.getDev qttools}/bin'
18 '';
19
20 meta = with lib; {
21 description = "Create stop-motion animation movies";
22 homepage = "http://linuxstopmotion.org/";
23 license = licenses.gpl2Plus;
24 platforms = platforms.linux;
25 maintainers = [ maintainers.bjornfor ];
26 };
27}