lol

Merge pull request #195662 from jtojnar/selfoss-2.19

selfoss: 2.18 → 2.19

authored by

Jonas Heinrich and committed by
GitHub
ba187fbd 39da21a4

+19 -10
+19 -10
pkgs/servers/web-apps/selfoss/default.nix
··· 1 - { lib, stdenv, fetchurl, unzip }: 1 + { lib, stdenvNoCC, fetchurl, unzip }: 2 2 3 - stdenv.mkDerivation rec { 3 + stdenvNoCC.mkDerivation rec { 4 4 pname = "selfoss"; 5 - version = "2.18"; 5 + version = "2.19"; 6 6 7 7 src = fetchurl { 8 - url = "https://github.com/SSilence/selfoss/releases/download/${version}/${pname}-${version}.zip"; 9 - sha256 = "1vd699r1kjc34n8avggckx2b0daj5rmgrj997sggjw2inaq4cg8b"; 8 + url = "https://github.com/SSilence/selfoss/releases/download/${version}/selfoss-${version}.zip"; 9 + sha256 = "5JxHUOlyMneWPKaZtgLwn5FI4rnyWPzmsUQpSYrw5Pw="; 10 10 }; 11 11 12 - sourceRoot = "."; 13 - nativeBuildInputs = [ unzip ]; 12 + nativeBuildInputs = [ 13 + unzip 14 + ]; 14 15 15 16 installPhase = '' 16 - mkdir $out 17 - cp -ra * $out/ 17 + runHook preInstall 18 + 19 + mkdir "$out" 20 + cp -ra \ 21 + .htaccess \ 22 + .nginx.conf \ 23 + * \ 24 + "$out/" 25 + 26 + runHook postInstall 18 27 ''; 19 28 20 29 meta = with lib; { 21 30 description = "Web-based news feed (RSS/Atom) aggregator"; 22 31 homepage = "https://selfoss.aditu.de"; 23 - license = licenses.gpl3; 32 + license = licenses.gpl3Only; 24 33 maintainers = with maintainers; [ jtojnar regnat ]; 25 34 platforms = platforms.all; 26 35 };