nixpkgs/pkgs/servers/nextcloud/default.nix
2018-07-26 03:08:24 +02:00

24 lines
634 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name= "nextcloud-${version}";
version = "13.0.5";
src = fetchurl {
url = "https://download.nextcloud.com/server/releases/${name}.tar.bz2";
sha256 = "1sl0kvn52m6p7rglwhgfb737y1897897hc5g2fcbg6i594ld6451";
};
installPhase = ''
mkdir -p $out/
cp -R . $out/
'';
meta = {
description = "Sharing solution for files, calendars, contacts and more";
homepage = https://nextcloud.com;
maintainers = with stdenv.lib.maintainers; [ schneefux bachp ];
license = stdenv.lib.licenses.agpl3Plus;
platforms = with stdenv.lib.platforms; unix;
};
}