1 { lib, stdenvNoCC, fetchurl, nixosTests
9 , eol ? false, extraVulnerabilities ? []
11 }: stdenvNoCC.mkDerivation rec {
16 url = "https://download.nextcloud.com/server/releases/${pname}-${version}.tar.bz2";
21 tests = nixosTests.nextcloud;
33 changelog = "https://nextcloud.com/changelog/#${lib.replaceStrings [ "." ] [ "-" ] version}";
34 description = "Sharing solution for files, calendars, contacts and more";
35 homepage = "https://nextcloud.com";
36 maintainers = with maintainers; [ schneefux bachp globin ma27 ];
37 license = licenses.agpl3Plus;
38 platforms = platforms.linux;
39 knownVulnerabilities = extraVulnerabilities
40 ++ (optional eol "Nextcloud version ${version} is EOL");
44 nextcloud28 = generic {
46 hash = "sha256-VaL3RfzI8BtYFrIzM/HjAU0gQKZnlOEy3dDSGaN75To=";
47 packages = nextcloud28Packages;
50 nextcloud29 = generic {
52 hash = "sha256-GcRp4mSzHugEAPg5ZGCFRUZWnojbTBX8CFThkvlgJ+s=";
53 packages = nextcloud29Packages;
56 # tip: get the sha with:
57 # curl 'https://download.nextcloud.com/server/releases/nextcloud-${version}.tar.bz2.sha256'