fileshelter: 3.0.0 -> 4.0.1
This commit is contained in:
parent
de123f796f
commit
550085dd46
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user