foswiki: init the package at 2.1.0
This commit is contained in:
parent
7974c7d6a1
commit
15030ed291
42
pkgs/servers/foswiki/default.nix
Normal file
42
pkgs/servers/foswiki/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ stdenv, fetchurl, perlPackages }:
|
||||
|
||||
perlPackages.buildPerlPackage rec {
|
||||
name = "foswiki-${version}";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/foswiki/${version}/Foswiki-${version}.tgz";
|
||||
sha256 = "03286pb966h99zgickm2f20rgnqwp9wga5wfkdvirv084kjdh8vp";
|
||||
};
|
||||
|
||||
buildInputs = with perlPackages; [
|
||||
# minimum requirements from INSTALL.html#System_Requirements
|
||||
AlgorithmDiff ArchiveTar AuthenSASL CGI CGISession CryptPasswdMD5
|
||||
DigestSHA EmailMIME Encode Error FileCopyRecursive HTMLParser HTMLTree
|
||||
IOSocketIP IOSocketSSL JSON
|
||||
LocaleMaketext LocaleMaketextLexicon LocaleMsgfmt
|
||||
LWP URI perlPackages.version
|
||||
/*# optional dependencies
|
||||
libapreq2 DBI DBDmysql DBDPg DBDSQLite FCGI FCGIProcManager
|
||||
CryptSMIME CryptX509 ConvertPEM
|
||||
*/
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
touch Makefile.PL
|
||||
patchShebangs .
|
||||
'';
|
||||
configureScript = "bin/configure";
|
||||
|
||||
# there's even no makefile
|
||||
doCheck = false;
|
||||
installPhase = ''cp -r . "$out" ''; # TODO: some fixups will be needed for running it
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An open, programmable collaboration platform";
|
||||
homepage = http://foswiki.org;
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -9570,6 +9570,8 @@ let
|
||||
|
||||
fleet = callPackage ../servers/fleet { };
|
||||
|
||||
foswiki = callPackage ../servers/foswiki { };
|
||||
|
||||
freepops = callPackage ../servers/mail/freepops { };
|
||||
|
||||
freeswitch = callPackage ../servers/sip/freeswitch { };
|
||||
|
Loading…
Reference in New Issue
Block a user