depot/third_party/nixpkgs/pkgs/servers/web-apps/selfoss/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

27 lines
666 B
Nix

{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
pname = "selfoss";
version = "2.18";
src = fetchurl {
url = "https://github.com/SSilence/selfoss/releases/download/${version}/${pname}-${version}.zip";
sha256 = "1vd699r1kjc34n8avggckx2b0daj5rmgrj997sggjw2inaq4cg8b";
};
sourceRoot = ".";
nativeBuildInputs = [ unzip ];
installPhase = ''
mkdir $out
cp -ra * $out/
'';
meta = with stdenv.lib; {
description = "Web-based news feed (RSS/Atom) aggregator";
homepage = "https://selfoss.aditu.de";
license = licenses.gpl3;
maintainers = with maintainers; [ jtojnar regnat ];
platforms = platforms.all;
};
}