1 { lib, stdenv, fetchFromGitHub, autoreconfHook, libzip, boost, wt4, libconfig, pkg-config } :
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "07n70wwqj7lqdxs3wya1m8bwg8l6lgmmlfpwyv3r3s4dfzb1b3ka";
14 enableParallelBuilding = true;
16 nativeBuildInputs = [ autoreconfHook pkg-config ];
17 buildInputs = [ libzip boost wt4 libconfig ];
19 NIX_LDFLAGS = "-lpthread";
22 ln -s ${wt4}/share/Wt/resources $out/share/fileshelter/docroot/resources
26 homepage = "https://github.com/epoupon/fileshelter";
27 description = "FileShelter is a 'one-click' file sharing web application";
28 mainProgram = "fileshelter";
29 maintainers = [ maintainers.willibutz ];
30 license = licenses.gpl3;
31 platforms = [ "x86_64-linux" ];