Merge pull request #18761 from schneefux/nextcloud

nextcloud: init at 10.0.0
This commit is contained in:
Joachim F 2016-09-24 15:55:26 +02:00 committed by GitHub
commit 6c935af9e1
4 changed files with 36 additions and 0 deletions

View file

@ -368,6 +368,7 @@
samuelrivas = "Samuel Rivas <samuelrivas@gmail.com>";
sander = "Sander van der Burg <s.vanderburg@tudelft.nl>";
schmitthenner = "Fabian Schmitthenner <development@schmitthenner.eu>";
schneefux = "schneefux <schneefux+nixos_pkg@schneefux.xyz>";
schristo = "Scott Christopher <schristopher@konputa.com>";
scolobb = "Sergiu Ivanov <sivanov@colimite.fr>";
sepi = "Raffael Mancini <raffael@mancini.lu>";

View file

@ -28,6 +28,7 @@ buildPerlPackage rec {
meta = {
homepage = "http://jimsun.linxnet.com/postfix_contrib.html";
maintainers = with stdenv.lib.maintainers; [ schneefux ];
description = "Postfix activity overview";
license = stdenv.lib.licenses.gpl2Plus;
};

View file

@ -0,0 +1,32 @@
{ stdenv, fetchurl, fetchpatch }:
stdenv.mkDerivation rec {
name= "nextcloud-${version}";
version = "10.0.0";
src = fetchurl {
url = "https://download.nextcloud.com/server/releases/${name}.tar.bz2";
sha256 = "07vnhw3xrady7p7y2hc3sm9bcdj21gxyx9rwgawmy28019y1gahs";
};
patches = [
(fetchpatch {
name = "env-variable.patch";
url = "https://github.com/nextcloud/server/commit/4277051442c2b6025da936493cb674dcf754d34c.patch";
sha256 = "1r1xcka9j9n0mkvj2nnhlwvhzicv9jjnxcszxs5g5ji88i1y0md2";
}) # exposes $NEXTCLOUD_CONFIG_DIR for Nextcloud 10 and below
];
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 ];
license = stdenv.lib.licenses.agpl3Plus;
platforms = with stdenv.lib.platforms; unix;
};
}

View file

@ -2805,6 +2805,8 @@ in
newsbeuter-dev = callPackage ../applications/networking/feedreaders/newsbeuter/dev.nix { };
nextcloud = callPackage ../servers/nextcloud { };
ngrep = callPackage ../tools/networking/ngrep { };
ngrok = callPackage ../tools/networking/ngrok { };