From e69cc136ec65f34332f84cc7b8ebdfa4905508c1 Mon Sep 17 00:00:00 2001 From: averagebit Date: Tue, 30 Jan 2024 01:24:18 +0000 Subject: [PATCH] meg: init at 0.3.0 Co-authored-by: Aleksana --- pkgs/by-name/me/meg/package.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pkgs/by-name/me/meg/package.nix diff --git a/pkgs/by-name/me/meg/package.nix b/pkgs/by-name/me/meg/package.nix new file mode 100644 index 000000000000..bd059c65f730 --- /dev/null +++ b/pkgs/by-name/me/meg/package.nix @@ -0,0 +1,25 @@ +{ lib +, fetchFromGitHub +, buildGoModule +}: +buildGoModule rec { + pname = "meg"; + version = "0.3.0"; + + vendorHash = "sha256-kQsGRmK7Qqz36whd6RI7Gecj40MM0o/fgRv7a+4yGZI="; + + src = fetchFromGitHub { + owner = "tomnomnom"; + repo = "meg"; + rev = "v${version}"; + hash = "sha256-uhfPNpvuuC9kBYUBCGE6X46TeZ5QxIcnDQ4HRrn2mT4="; + }; + + meta = with lib; { + homepage = "https://github.com/tomnomnom/meg"; + description = "Fetch many paths for many hosts without flooding hosts"; + mainProgram = "meg"; + maintainers = with maintainers; [ averagebit ]; + license = licenses.mit; + }; +}