mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
28 lines
739 B
Nix
28 lines
739 B
Nix
|
{ 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;
|
||
|
};
|
||
|
}
|