2016-03-01 10:43:54 +01:00
|
|
|
{ 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";
|
|
|
|
};
|
|
|
|
|
2016-04-25 16:16:21 +02:00
|
|
|
outputs = [ "out" ];
|
|
|
|
|
2016-03-01 10:43:54 +01:00
|
|
|
buildInputs = with perlPackages; [
|
|
|
|
# minimum requirements from INSTALL.html#System_Requirements
|
|
|
|
AlgorithmDiff ArchiveTar AuthenSASL CGI CGISession CryptPasswdMD5
|
2018-07-22 04:03:24 +02:00
|
|
|
EmailMIME Encode Error FileCopyRecursive HTMLParser HTMLTree
|
2016-03-01 10:43:54 +01:00
|
|
|
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;
|
2016-04-25 16:16:21 +02:00
|
|
|
installPhase = ''cp -r . "$out" '';
|
2016-03-01 10:43:54 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An open, programmable collaboration platform";
|
|
|
|
homepage = http://foswiki.org;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|