diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2016-03-01 10:43:54 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2016-03-08 16:37:59 +0100 |
commit | 15030ed2917c206a28b5b5ba8be6a644fb7d3306 (patch) | |
tree | 78b367c07d39dfb339fec8d2198cdb1f009b09e6 /pkgs/servers | |
parent | 7974c7d6a1291d342269f4843cee7ab2e4d8f796 (diff) | |
download | nixlib-15030ed2917c206a28b5b5ba8be6a644fb7d3306.tar nixlib-15030ed2917c206a28b5b5ba8be6a644fb7d3306.tar.gz nixlib-15030ed2917c206a28b5b5ba8be6a644fb7d3306.tar.bz2 nixlib-15030ed2917c206a28b5b5ba8be6a644fb7d3306.tar.lz nixlib-15030ed2917c206a28b5b5ba8be6a644fb7d3306.tar.xz nixlib-15030ed2917c206a28b5b5ba8be6a644fb7d3306.tar.zst nixlib-15030ed2917c206a28b5b5ba8be6a644fb7d3306.zip |
foswiki: init the package at 2.1.0
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/foswiki/default.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/servers/foswiki/default.nix b/pkgs/servers/foswiki/default.nix new file mode 100644 index 000000000000..c58313259580 --- /dev/null +++ b/pkgs/servers/foswiki/default.nix @@ -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; + }; +} + |