nixpkgs-suyu/pkgs/servers/tt-rss/theme-feedly/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

27 lines
644 B
Nix

{ stdenv, fetchFromGitHub }: stdenv.mkDerivation rec {
pname = "tt-rss-theme-feedly";
version = "2.0.0";
src = fetchFromGitHub {
owner = "levito";
repo = "tt-rss-feedly-theme";
rev = "v${version}";
sha256 = "024hngwzfdgw5jqppc8vh75jidfqghaccy969hvbhxhgk6j6l8m4";
};
dontBuild = true;
installPhase = ''
mkdir $out
cp -ra feedly *.css $out
'';
meta = with stdenv.lib; {
description = "Feedly theme for Tiny Tiny RSS";
license = licenses.wtfpl;
homepage = "https://github.com/levito/tt-rss-feedly-theme";
maintainers = with maintainers; [ das_j ];
platforms = platforms.all;
};
}