3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/web-apps/selfoss/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
760 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchurl, unzip }:
2016-09-09 13:08:46 +01:00
stdenvNoCC.mkDerivation rec {
pname = "selfoss";
version = "2.19";
2016-09-09 13:08:46 +01:00
src = fetchurl {
url = "https://github.com/SSilence/selfoss/releases/download/${version}/selfoss-${version}.zip";
sha256 = "5JxHUOlyMneWPKaZtgLwn5FI4rnyWPzmsUQpSYrw5Pw=";
2016-09-09 13:08:46 +01:00
};
nativeBuildInputs = [
unzip
];
2016-09-09 13:08:46 +01:00
installPhase = ''
runHook preInstall
mkdir "$out"
cp -ra \
.htaccess \
.nginx.conf \
* \
"$out/"
runHook postInstall
2016-09-09 13:08:46 +01:00
'';
meta = with lib; {
2016-09-09 13:08:46 +01:00
description = "Web-based news feed (RSS/Atom) aggregator";
homepage = "https://selfoss.aditu.de";
license = licenses.gpl3Only;
2018-07-05 09:37:59 +01:00
maintainers = with maintainers; [ jtojnar regnat ];
2016-09-09 13:08:46 +01:00
platforms = platforms.all;
};
}