fileshelter: 3.0.0 -> 4.0.1

This commit is contained in:
WilliButz 2019-10-20 11:46:54 +02:00
parent de123f796f
commit 550085dd46
No known key found for this signature in database
GPG Key ID: 92582A10F1179CB2

View File

@ -1,31 +1,31 @@
{ stdenv, fetchFromGitHub, autoreconfHook, libzip, boost, wt3, libconfig, pkgconfig } : { stdenv, fetchFromGitHub, autoreconfHook, libzip, boost, wt4, libconfig, pkgconfig } :
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "fileshelter"; pname = "fileshelter";
version = "3.0.0"; version = "4.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "epoupon"; owner = "epoupon";
repo = "fileshelter"; repo = "fileshelter";
rev = "v${version}"; rev = "v${version}";
sha256 = "1n9hrls3l9gf8wfz6m9bylma1b1hdvdqsksv2dlp1zdgjdzv200b"; sha256 = "07n70wwqj7lqdxs3wya1m8bwg8l6lgmmlfpwyv3r3s4dfzb1b3ka";
}; };
enableParallelBuilding = true; enableParallelBuilding = true;
nativeBuildInputs = [ autoreconfHook pkgconfig ]; nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libzip boost wt3 libconfig ]; buildInputs = [ libzip boost wt4 libconfig ];
NIX_LDFLAGS = [ NIX_LDFLAGS = [
"-lpthread" "-lpthread"
]; ];
postInstall = '' postInstall = ''
ln -s ${wt3}/share/Wt/resources $out/share/fileshelter/docroot/resources ln -s ${wt4}/share/Wt/resources $out/share/fileshelter/docroot/resources
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/epoupon/fileshelter; homepage = "https://github.com/epoupon/fileshelter";
description = "FileShelter is a 'one-click' file sharing web application"; description = "FileShelter is a 'one-click' file sharing web application";
maintainers = [ maintainers.willibutz ]; maintainers = [ maintainers.willibutz ];
license = licenses.gpl3; license = licenses.gpl3;