File tree Expand file tree Collapse file tree 1 file changed +20
-13
lines changed
pkgs/by-name/fi/fileshelter Expand file tree Collapse file tree 1 file changed +20
-13
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 stdenv ,
44 fetchFromGitHub ,
5- autoreconfHook ,
5+ cmake ,
66 libzip ,
77 boost ,
8- wt4 ,
8+ wt ,
99 libconfig ,
1010 pkg-config ,
11+ libarchive ,
1112} :
1213
13- stdenv . mkDerivation rec {
14+ stdenv . mkDerivation ( finalAttrs : {
1415 pname = "fileshelter" ;
15- version = "4.0.1 " ;
16+ version = "6.2.0 " ;
1617
1718 src = fetchFromGitHub {
1819 owner = "epoupon" ;
1920 repo = "fileshelter" ;
20- rev = "v${ version } " ;
21- sha256 = "07n70wwqj7lqdxs3wya1m8bwg8l6lgmmlfpwyv3r3s4dfzb1b3ka " ;
21+ tag = "v${ finalAttrs . version } " ;
22+ hash = "sha256-21ANNJB7rbGAdlS7ELyGAEIjvK8biFlH27yVHrLKpwY= " ;
2223 } ;
2324
25+ postPatch = ''
26+ sed -i '1i #include <algorithm>' src/fileshelter/ui/ShareCreateFormView.cpp
27+ '' ;
28+
2429 enableParallelBuilding = true ;
2530
2631 nativeBuildInputs = [
27- autoreconfHook
32+ cmake
2833 pkg-config
2934 ] ;
35+
3036 buildInputs = [
3137 libzip
3238 boost
33- wt4
39+ wt
3440 libconfig
41+ libarchive
3542 ] ;
3643
3744 NIX_LDFLAGS = "-lpthread" ;
3845
3946 postInstall = ''
40- ln -s ${ wt4 } /share/Wt/resources $out/share/fileshelter/docroot/resources
47+ ln -s ${ wt } /share/Wt/resources $out/share/fileshelter/docroot/resources
4148 '' ;
4249
43- meta = with lib ; {
50+ meta = {
4451 homepage = "https://github.com/epoupon/fileshelter" ;
4552 description = "FileShelter is a 'one-click' file sharing web application" ;
4653 mainProgram = "fileshelter" ;
47- maintainers = [ maintainers . willibutz ] ;
48- license = licenses . gpl3 ;
54+ maintainers = [ lib . maintainers . willibutz ] ;
55+ license = lib . licenses . gpl3 ;
4956 platforms = [ "x86_64-linux" ] ;
5057 } ;
51- }
58+ } )
You can’t perform that action at this time.
0 commit comments