Merge pull request #195662 from jtojnar/selfoss-2.19
selfoss: 2.18 → 2.19
This commit is contained in:
commit
ba187fbdc5
1 changed files with 19 additions and 10 deletions
|
@ -1,26 +1,35 @@
|
||||||
{ lib, stdenv, fetchurl, unzip }:
|
{ lib, stdenvNoCC, fetchurl, unzip }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenvNoCC.mkDerivation rec {
|
||||||
pname = "selfoss";
|
pname = "selfoss";
|
||||||
version = "2.18";
|
version = "2.19";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/SSilence/selfoss/releases/download/${version}/${pname}-${version}.zip";
|
url = "https://github.com/SSilence/selfoss/releases/download/${version}/selfoss-${version}.zip";
|
||||||
sha256 = "1vd699r1kjc34n8avggckx2b0daj5rmgrj997sggjw2inaq4cg8b";
|
sha256 = "5JxHUOlyMneWPKaZtgLwn5FI4rnyWPzmsUQpSYrw5Pw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = ".";
|
nativeBuildInputs = [
|
||||||
nativeBuildInputs = [ unzip ];
|
unzip
|
||||||
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir $out
|
runHook preInstall
|
||||||
cp -ra * $out/
|
|
||||||
|
mkdir "$out"
|
||||||
|
cp -ra \
|
||||||
|
.htaccess \
|
||||||
|
.nginx.conf \
|
||||||
|
* \
|
||||||
|
"$out/"
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Web-based news feed (RSS/Atom) aggregator";
|
description = "Web-based news feed (RSS/Atom) aggregator";
|
||||||
homepage = "https://selfoss.aditu.de";
|
homepage = "https://selfoss.aditu.de";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3Only;
|
||||||
maintainers = with maintainers; [ jtojnar regnat ];
|
maintainers = with maintainers; [ jtojnar regnat ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue