1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 19:08:30 +00:00
nixpkgs/pkgs/servers/roundcube/default.nix
2018-09-26 15:34:46 +02:00

24 lines
631 B
Nix

{ 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;
};
}