forked from mirrors/nixpkgs
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
28 lines
664 B
Nix
28 lines
664 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;
|
|
};
|
|
}
|