Files
nixpkgs/pkgs/by-name/mx/mx-takeover/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

36 lines
775 B
Nix

{
lib,
stdenv,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "mx-takeover";
version = "0.1.1";
src = fetchFromGitHub {
owner = "musana";
repo = "mx-takeover";
tag = "v${version}";
hash = "sha256-yDQd2FEVFFsUu3wKxp26VDhGjnuXmAtxpWoKjV6ZrHA=";
};
vendorHash = "sha256-mJ8pVsgRM6lhEa8jtCxFhavkf7XFlBqEN9l1r0/GTvM=";
ldflags = [
"-s"
"-w"
];
meta = with lib; {
description = "Tool to work with DNS MX records";
homepage = "https://github.com/musana/mx-takeover";
changelog = "https://github.com/musana/mx-takeover/releases/tag/v${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "mx-takeover";
broken = stdenv.hostPlatform.isDarwin;
};
}