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 {
pname = "fileshelter";
version = "3.0.0";
version = "4.0.1";
src = fetchFromGitHub {
owner = "epoupon";
repo = "fileshelter";
rev = "v${version}";
sha256 = "1n9hrls3l9gf8wfz6m9bylma1b1hdvdqsksv2dlp1zdgjdzv200b";
sha256 = "07n70wwqj7lqdxs3wya1m8bwg8l6lgmmlfpwyv3r3s4dfzb1b3ka";
};
enableParallelBuilding = true;
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libzip boost wt3 libconfig ];
buildInputs = [ libzip boost wt4 libconfig ];
NIX_LDFLAGS = [
"-lpthread"
];
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; {
homepage = https://github.com/epoupon/fileshelter;
homepage = "https://github.com/epoupon/fileshelter";
description = "FileShelter is a 'one-click' file sharing web application";
maintainers = [ maintainers.willibutz ];
license = licenses.gpl3;