nixpkgs/pkgs/servers/nextcloud/default.nix
2017-10-01 22:30:55 +02:00

24 lines
646 B
Nix

{ stdenv, fetchurl, fetchpatch }:
stdenv.mkDerivation rec {
name= "nextcloud-${version}";
version = "12.0.3";
src = fetchurl {
url = "https://download.nextcloud.com/server/releases/${name}.tar.bz2";
sha256 = "0wgvvpk7h7psy41a32f0ljh6iasjsqbf4pxi8nhybl46m35srg48";
};
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;
};
}