diff options
author | Jonas Heinrich <onny@project-insanity.org> | 2022-10-13 08:40:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-13 08:40:54 +0200 |
commit | ba187fbdc5e35322c7dff556ef2c47bddfd6e8d7 (patch) | |
tree | baeb32130032d37d195068a7e1e7ba9b9434eac2 | |
parent | 39da21a4142a7119604b8d3847c92ce005545bc3 (diff) | |
parent | 61a13e2dc7a12a6b2a75c994f0f331103da31bf2 (diff) |
Merge pull request #195662 from jtojnar/selfoss-2.19
selfoss: 2.18 → 2.19
-rw-r--r-- | pkgs/servers/web-apps/selfoss/default.nix | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/pkgs/servers/web-apps/selfoss/default.nix b/pkgs/servers/web-apps/selfoss/default.nix index 383c57ee9382a..b0b888012f463 100644 --- a/pkgs/servers/web-apps/selfoss/default.nix +++ b/pkgs/servers/web-apps/selfoss/default.nix @@ -1,26 +1,35 @@ -{ lib, stdenv, fetchurl, unzip }: +{ lib, stdenvNoCC, fetchurl, unzip }: -stdenv.mkDerivation rec { +stdenvNoCC.mkDerivation rec { pname = "selfoss"; - version = "2.18"; + version = "2.19"; src = fetchurl { - url = "https://github.com/SSilence/selfoss/releases/download/${version}/${pname}-${version}.zip"; - sha256 = "1vd699r1kjc34n8avggckx2b0daj5rmgrj997sggjw2inaq4cg8b"; + url = "https://github.com/SSilence/selfoss/releases/download/${version}/selfoss-${version}.zip"; + sha256 = "5JxHUOlyMneWPKaZtgLwn5FI4rnyWPzmsUQpSYrw5Pw="; }; - sourceRoot = "."; - nativeBuildInputs = [ unzip ]; + nativeBuildInputs = [ + unzip + ]; installPhase = '' - mkdir $out - cp -ra * $out/ + runHook preInstall + + mkdir "$out" + cp -ra \ + .htaccess \ + .nginx.conf \ + * \ + "$out/" + + runHook postInstall ''; meta = with lib; { description = "Web-based news feed (RSS/Atom) aggregator"; homepage = "https://selfoss.aditu.de"; - license = licenses.gpl3; + license = licenses.gpl3Only; maintainers = with maintainers; [ jtojnar regnat ]; platforms = platforms.all; }; |