@@ -11,25 +11,34 @@
1111, libmicrohttpd
1212, giflib
1313, miniupnpc
14+, extra-cmake-modules
15+, libvpx
1416}:
1517
1618stdenv.mkDerivation rec {
1719 name = "drawpile-${version}";
18− version = "2.0.11";
20+ version = "2.1.2";
1921 src = fetchurl {
2022 url = "https://drawpile.net/files/src/drawpile-${version}.tar.gz";
21− sha256 = "0h018rxhc0lwpqwmlihalz634nd0xaafk4p2b782djjd87irnjpk";
23+ sha256 = "02kkn317w9xhdqq2b4fq2bvipsnbp9945b6vghx3q2p6mckr9mhi";
2224 };
25+ nativeBuildInputs = [
26+ extra-cmake-modules
27+ ];
2328 buildInputs = [
29+ # common deps:
2430 cmake
2531 qtbase qtsvg qtmultimedia qttools
2632 karchive
2733 # optional deps:
34+ # server-specific:
2835 libsodium # ext-auth support
2936 libmicrohttpd # HTTP admin api
37+ # client-specific:
3038 giflib # gif animation export support
3139 miniupnpc # automatic port forwarding
3240 kdnssd # local server discovery with Zeroconf
41+ libvpx # WebM video export
3342 ];
3443 configurePhase = "cmake -DCMAKE_INSTALL_PREFIX=$out .";
3544