mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
photon-rss: init at 2022-01-04-57687766
The version is simply `${DATE}-${COMMIT}` since there's no proper versioning of the project (yet or maybe not).
This commit is contained in:
parent
38c73eeeaf
commit
501a83b216
@ -17,6 +17,7 @@ with pkgs; {
|
|||||||
pop-launcher = callPackage ./pop-launcher.nix { };
|
pop-launcher = callPackage ./pop-launcher.nix { };
|
||||||
pop-launcher-plugin-duckduckgo-bangs =
|
pop-launcher-plugin-duckduckgo-bangs =
|
||||||
callPackage ./pop-launcher-plugin-duckduckgo-bangs.nix { };
|
callPackage ./pop-launcher-plugin-duckduckgo-bangs.nix { };
|
||||||
|
photon-rss = callPackage ./photon-rss.nix { };
|
||||||
tic-80 = callPackage ./tic-80 { };
|
tic-80 = callPackage ./tic-80 { };
|
||||||
sioyek = libsForQt5.callPackage ./sioyek.nix { };
|
sioyek = libsForQt5.callPackage ./sioyek.nix { };
|
||||||
}
|
}
|
||||||
|
27
pkgs/photon-rss.nix
Normal file
27
pkgs/photon-rss.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user