From ce97cf12501e420538ea15e758c6f6d086e6aeff Mon Sep 17 00:00:00 2001 From: Justin Rubek <25621857+justinrubek@users.noreply.github.com> Date: Sat, 17 Aug 2024 15:25:16 -0500 Subject: [PATCH] rain-bittorrent: init at 1.30.0 --- pkgs/by-name/ra/rain-bittorrent/package.nix | 27 +++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/by-name/ra/rain-bittorrent/package.nix diff --git a/pkgs/by-name/ra/rain-bittorrent/package.nix b/pkgs/by-name/ra/rain-bittorrent/package.nix new file mode 100644 index 000000000000..469fe096db0f --- /dev/null +++ b/pkgs/by-name/ra/rain-bittorrent/package.nix @@ -0,0 +1,27 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule { + pname = "rain"; + version = "1.30.0"; + + src = fetchFromGitHub { + owner = "cenkalti"; + repo = "rain"; + rev = "v1.13.0"; + sha256 = "sha256-pz20vhr3idXja7wYIdVr1dosSpqYiQfeho66rqd718I="; + }; + + vendorHash = "sha256-40DK0D9TRJDfrMbBJNpcNzvjKb/uXN/Yz5Bb7oXBh+E="; + + meta = with lib; { + description = "BitTorrent client and library in Go"; + homepage = "https://github.com/cenkalti/rain"; + license = licenses.mit; + maintainers = with maintainers; [ justinrubek ]; + mainProgram = "rain"; + }; +}