summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/ratt/default.nix
blob: 575a33f2b9a10f1f45f8a6030dbb02e0416e6258 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ buildGoModule, fetchFromSourcehut, lib }:
buildGoModule rec {
  pname = "ratt";
  version = "unstable-2022-05-09";

  src = fetchFromSourcehut {
    owner = "~ghost08";
    repo = "ratt";
    rev = "bf539e1cb04017f5e9d248a8e5f7a6f22f77d06e";
    sha256 = "0pfz6wnmpwabklayah3bddxkhvg64f5hfyvzkv3xfqpw8c70jdll";
  };

  proxyVendor = true;
  vendorSha256 = "sha256-tCSwyusVstEkz2pXYGX5JmS+VgqErSPtnh4LomaaFcE=";

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

  meta = with lib; {
    description = "A tool for converting websites to rss/atom feeds";
    homepage = "https://git.sr.ht/~ghost08/ratt";
    license = licenses.mit;
    maintainers = with maintainers; [ kmein ];
    platforms = platforms.linux ++ platforms.darwin;
  };
}