From 15079ba19e3281e9c8afa208c69efe9d9da378e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Tue, 11 Jan 2022 20:27:52 +0100 Subject: [PATCH] ratt: init at unstable-2022-01-11 --- pkgs/applications/misc/ratt/default.nix | 26 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/applications/misc/ratt/default.nix diff --git a/pkgs/applications/misc/ratt/default.nix b/pkgs/applications/misc/ratt/default.nix new file mode 100644 index 000000000000..a7583dabd733 --- /dev/null +++ b/pkgs/applications/misc/ratt/default.nix @@ -0,0 +1,26 @@ +{ buildGoModule, fetchFromSourcehut, lib }: +buildGoModule rec { + pname = "ratt"; + version = "unstable-2022-01-11"; + + src = fetchFromSourcehut { + owner = "~ghost08"; + repo = "ratt"; + rev = "eac7e14b15ad4e916e7d072780397c414c740630"; + hash = "sha256-/WzPF98MovNg4t5NJhL2Z1bAFDG/3I56M9YgRJF7Wjk="; + }; + + proxyVendor = true; + vendorSha256 = "sha256-NW5B9oO/LJqPigvOcMeL4hQLKmAL01I2Ff41y169BTQ="; + + # 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ab134fff60fe..5a1eda59e254 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9112,6 +9112,8 @@ with pkgs; ratools = callPackage ../tools/networking/ratools { }; + ratt = callPackage ../applications/misc/ratt { }; + rc = callPackage ../shells/rc { }; rcon = callPackage ../tools/networking/rcon { };