mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-12 12:19:08 +00:00
28 lines
732 B
Nix
28 lines
732 B
Nix
![]() |
{ stdenv, lib, fetchFromSourcehut, buildGoModule, xorg }:
|
||
|
|
||
|
buildGoModule rec {
|
||
|
pname = "photon-rss";
|
||
|
version = "2022-01-04-57687766";
|
||
|
|
||
|
src = fetchFromSourcehut {
|
||
|
owner = "~ghost08";
|
||
|
repo = pname;
|
||
|
rev = "57687766a71add4751f68052666fed638fc45891";
|
||
|
sha256 = "sha256-Q4WD1s9kvt5khvw9Zg7A688IECponIQ3HTAMoQpeQvY=";
|
||
|
};
|
||
|
|
||
|
buildInputs = [ xorg.libX11 ];
|
||
|
vendorSha256 = "sha256-sASlZwJJzjMmzQRbCZfuuE7y9huO2dRYbYuzteIdLpI=";
|
||
|
|
||
|
postInstall = ''
|
||
|
# Move the plugins somewhere.
|
||
|
install -Dm644 plugins/* -t $out/share/${pname}
|
||
|
'';
|
||
|
|
||
|
meta = with lib; {
|
||
|
homepage = "https://git.sr.ht/~ghost08/photon";
|
||
|
description = "RSS reader in the terminal with sixel support";
|
||
|
license = licenses.gpl3;
|
||
|
};
|
||
|
}
|