nixos-config/5pkgs/ratt/default.nix
2022-12-12 20:15:54 +01:00

27 lines
766 B
Nix

{ 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;
};
}