mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-25 18:19:00 +00:00
ratt: init at 2022-01-04-a9c98c53
Just for reassurance, I've tested it with the sample configurations. It's fine for the most part.
This commit is contained in:
parent
501a83b216
commit
abef9a7738
@ -18,6 +18,7 @@ with pkgs; {
|
||||
pop-launcher-plugin-duckduckgo-bangs =
|
||||
callPackage ./pop-launcher-plugin-duckduckgo-bangs.nix { };
|
||||
photon-rss = callPackage ./photon-rss.nix { };
|
||||
ratt = callPackage ./ratt.nix { };
|
||||
tic-80 = callPackage ./tic-80 { };
|
||||
sioyek = libsForQt5.callPackage ./sioyek.nix { };
|
||||
}
|
||||
|
27
pkgs/ratt.nix
Normal file
27
pkgs/ratt.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv, lib, fetchFromSourcehut, buildGoModule }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "ratt";
|
||||
version = "2022-01-04-a9c98c53";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~ghost08";
|
||||
repo = pname;
|
||||
rev = "a9c98c535e82f5110e7e47c81ffd9c93dde63fb6";
|
||||
sha256 = "sha256-7Bu/Hr+HiIswURhvC3fItPQZN3Ca9WwqkZ4rGdaOXdQ=";
|
||||
};
|
||||
|
||||
subPackages = [ "cmd/ratt" ];
|
||||
vendorSha256 = "sha256-JTlrtI3IS3hyQeHlS1ED7TObNon3bkNp6+CSVdbGD0A=";
|
||||
|
||||
postInstall = ''
|
||||
# Move the built-in packaged filters into the appropriate folder.
|
||||
install -Dm644 confs/* -t $out/share/${pname}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://git.sr.ht/~ghost08/ratt";
|
||||
description = "Make an RSS feed on all the things";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user