nixpkgs/pkgs/by-name/ni/nixops-dns/package.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

28 lines
640 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub }:
buildGoModule rec {
pname = "nixops-dns";
version = "1.0.1";
src = fetchFromGitHub {
owner = "museoa";
repo = "nixops-dns";
rev = "v${version}";
hash = "sha256-d3vVm6YeQTOAE5HFSKI01L9ZqfbQKrdoLsMwHP5HulE=";
};
vendorHash = "sha256-3DVNjvW0AAdogpTi3GMnn92FqqOUWNdQvRBityyKwcI=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
homepage = "https://github.com/museoa/nixops-dns";
description = "DNS server for resolving NixOps machines";
mainProgram = "nixops-dns";
license = licenses.mit;
maintainers = with maintainers; [ kamilchm sorki ];
};
}