3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #57568 from fgaz/drawpile/2.1.2

drawpile: 2.0.11 -> 2.1.2
This commit is contained in:
xeji 2019-03-13 23:24:09 +01:00 committed by GitHub
commit 2df7df966c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,25 +11,34 @@
, libmicrohttpd
, giflib
, miniupnpc
, extra-cmake-modules
, libvpx
}:
stdenv.mkDerivation rec {
name = "drawpile-${version}";
version = "2.0.11";
version = "2.1.2";
src = fetchurl {
url = "https://drawpile.net/files/src/drawpile-${version}.tar.gz";
sha256 = "0h018rxhc0lwpqwmlihalz634nd0xaafk4p2b782djjd87irnjpk";
sha256 = "02kkn317w9xhdqq2b4fq2bvipsnbp9945b6vghx3q2p6mckr9mhi";
};
nativeBuildInputs = [
extra-cmake-modules
];
buildInputs = [
# common deps:
cmake
qtbase qtsvg qtmultimedia qttools
karchive
# optional deps:
# server-specific:
libsodium # ext-auth support
libmicrohttpd # HTTP admin api
# client-specific:
giflib # gif animation export support
miniupnpc # automatic port forwarding
kdnssd # local server discovery with Zeroconf
libvpx # WebM video export
];
configurePhase = "cmake -DCMAKE_INSTALL_PREFIX=$out .";