mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
25 lines
646 B
Nix
25 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;
|
|
};
|
|
}
|