fileshelter: init at 3.0.0
This commit is contained in:
parent
1a74ff64bb
commit
70ecaff635
2 changed files with 30 additions and 0 deletions
28
pkgs/servers/web-apps/fileshelter/default.nix
Normal file
28
pkgs/servers/web-apps/fileshelter/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, fetchFromGitHub, autoreconfHook, libzip, boost, wt3, libconfig, pkgconfig } :
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "fileshelter";
|
||||
version = "3.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "epoupon";
|
||||
repo = "fileshelter";
|
||||
rev = "v${version}";
|
||||
sha256 = "1n9hrls3l9gf8wfz6m9bylma1b1hdvdqsksv2dlp1zdgjdzv200b";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ libzip boost wt3 libconfig ];
|
||||
|
||||
postInstall = ''
|
||||
ln -s ${wt3}/share/Wt/resources $out/share/fileshelter/docroot/resources
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/epoupon/fileshelter;
|
||||
description = "FileShelter is a 'one-click' file sharing web application";
|
||||
maintainers = [ maintainers.willibutz ];
|
||||
license = licenses.gpl3;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
|
@ -1106,6 +1106,8 @@ with pkgs;
|
|||
|
||||
filebench = callPackage ../tools/misc/filebench { };
|
||||
|
||||
fileshelter = callPackage ../servers/web-apps/fileshelter { };
|
||||
|
||||
fsmon = callPackage ../tools/misc/fsmon { };
|
||||
|
||||
fsql = callPackage ../tools/misc/fsql { };
|
||||
|
|
Loading…
Reference in a new issue