Skip to content

Commit 7d01bf7

Browse files
authored
ratt: unstable-2023-02-12 -> 0-unstable-2025-03-10 (#388616)
2 parents 5867d33 + 0acb69e commit 7d01bf7

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

pkgs/by-name/ra/ratt/package.nix

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,39 @@
22
buildGoModule,
33
fetchFromSourcehut,
44
lib,
5+
scdoc,
6+
installShellFiles,
57
}:
68
buildGoModule rec {
79
pname = "ratt";
8-
version = "unstable-2023-02-12";
10+
version = "0-unstable-2025-03-10";
911

1012
src = fetchFromSourcehut {
1113
owner = "~ghost08";
1214
repo = "ratt";
13-
rev = "ed1a675685b9d86d6602e168199ba9b4260f5f06";
14-
hash = "sha256-HfS97Lxt6FAj/2/WAzLI06F/h6TP5m2lHHOTAs8XNFY=";
15+
rev = "7433a875fb5d8f614e8630cd50b3c9580ef931ce";
16+
hash = "sha256-u4rad2+SN1yMUjyDZgZo3XDQddICWfa35piYe6437MU=";
1517
};
1618

19+
nativeBuildInputs = [
20+
installShellFiles
21+
scdoc
22+
];
23+
1724
proxyVendor = true;
18-
vendorHash = "sha256-L8mDs9teQJW6P3dhKSLfzbpA7kzhJk61oR2q0ME+u0M=";
25+
vendorHash = "sha256-W1snHDmy6Pg35jYfNmV5DpRpQpp9Ju0JjzwMRYGoqXY==";
1926

2027
# tests try to access the internet to scrape websites
2128
doCheck = false;
2229

30+
postInstall = ''
31+
scdoc < doc/ratt.1.scd > doc/ratt.1
32+
installManPage doc/ratt.1
33+
34+
scdoc < doc/ratt.5.scd > doc/ratt.5
35+
installManPage doc/ratt.5
36+
'';
37+
2338
meta = with lib; {
2439
description = "Tool for converting websites to rss/atom feeds";
2540
homepage = "https://git.sr.ht/~ghost08/ratt";

0 commit comments

Comments
 (0)