nixpkgs/pkgs/servers/roundcube/default.nix

24 lines
631 B
Nix
Raw Normal View History

2018-09-26 13:34:46 +00:00
{ lib, stdenv, fetchzip }:
let
2018-09-24 12:32:54 +00:00
version = "1.3.7";
2018-09-26 13:34:46 +00:00
in
fetchzip rec {
name= "roundcube-${version}";
2018-09-24 12:32:54 +00:00
2018-09-26 13:34:46 +00:00
url = "https://github.com/roundcube/roundcubemail/releases/download/${version}/roundcubemail-${version}-complete.tar.gz";
sha256 = "0xwqy0adynx7066a0cvz9vyg85waax1i4p70kcdkz7q5jnw4jzhf";
extraPostFetch = ''
2018-09-24 12:32:54 +00:00
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;
};
}