drawpile: init at 2.0.11

This commit is contained in:
Francesco Gazzetta 2018-06-13 14:37:53 +02:00
parent 4d3ce5ca36
commit 62a2574eb3
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{ stdenv
, fetchurl
, cmake
, qtbase
, qtsvg
, qtmultimedia
, qttools
, kdnssd
, karchive
, libsodium
, libmicrohttpd
, giflib
, miniupnpc
}:
stdenv.mkDerivation rec {
name = "drawpile-${version}";
version = "2.0.11";
src = fetchurl {
url = "https://drawpile.net/files/src/drawpile-${version}.tar.gz";
sha256 = "0h018rxhc0lwpqwmlihalz634nd0xaafk4p2b782djjd87irnjpk";
};
buildInputs = [
cmake
qtbase qtsvg qtmultimedia qttools
karchive
# optional deps:
libsodium # ext-auth support
libmicrohttpd # HTTP admin api
giflib # gif animation export support
miniupnpc # automatic port forwarding
kdnssd # local server discovery with Zeroconf
];
configurePhase = "cmake -DCMAKE_INSTALL_PREFIX=$out .";
meta = with stdenv.lib; {
description = "A collaborative drawing program that allows multiple users to sketch on the same canvas simultaneously";
homepage = https://drawpile.net/;
downloadPage = https://drawpile.net/download/;
license = licenses.gpl3;
maintainers = with maintainers; [ fgaz ];
};
}

View File

@ -15860,6 +15860,8 @@ with pkgs;
dragonfly-reverb = callPackage ../applications/audio/dragonfly-reverb { };
drawpile = libsForQt5.callPackage ../applications/graphics/drawpile { };
droopy = callPackage ../applications/networking/droopy {
inherit (python3Packages) wrapPython;
};