Skip to content

Commit

Permalink
Merge pull request #47270 from Vskilet/roundcube-package
Browse files Browse the repository at this point in the history
roundcube: init at 1.3.7
  • Loading branch information
Mic92 committed Sep 27, 2018
2 parents 3ef254a + e387f25 commit 2255fce
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Expand Up @@ -4436,6 +4436,11 @@
github = "vrthra";
name = "Rahul Gopinath";
};
vskilet = {
email = "victor@sene.ovh";
github = "vskilet";
name = "Victor SENE";
};
vyp = {
email = "elisp.vim@gmail.com";
github = "vyp";
Expand Down
23 changes: 23 additions & 0 deletions pkgs/servers/roundcube/default.nix
@@ -0,0 +1,23 @@
{ lib, stdenv, fetchzip }:
let
version = "1.3.7";
in
fetchzip rec {
name= "roundcube-${version}";

url = "https://github.com/roundcube/roundcubemail/releases/download/${version}/roundcubemail-${version}-complete.tar.gz";
sha256 = "0xwqy0adynx7066a0cvz9vyg85waax1i4p70kcdkz7q5jnw4jzhf";

extraPostFetch = ''
ln -sf /etc/roundcube/config.inc.php $out/config/config.inc.php
rm -rf $out/installer
'';

meta = {
description = "Open Source Webmail Software";
maintainers = with stdenv.lib.maintainers; [ vskilet ];
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.all;
};
}

2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -1537,6 +1537,8 @@ with pkgs;
riot-web = callPackage ../applications/networking/instant-messengers/riot/riot-web.nix {
conf = config.riot-web.conf or null;
};

roundcube = callPackage ../servers/roundcube { };

rsbep = callPackage ../tools/backup/rsbep { };

Expand Down

0 comments on commit 2255fce

Please sign in to comment.