2018-01-27 23:25:04 +00:00
|
|
|
{ lib
|
2024-03-15 03:57:54 +00:00
|
|
|
, buildGoModule
|
2018-01-27 23:25:04 +00:00
|
|
|
, fetchFromGitHub }:
|
|
|
|
|
2024-03-15 03:57:54 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "nixops-dns";
|
2024-03-15 03:57:54 +00:00
|
|
|
version = "1.0.1";
|
2018-01-27 23:25:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2024-03-15 03:57:54 +00:00
|
|
|
owner = "museoa";
|
2018-01-27 23:25:04 +00:00
|
|
|
repo = "nixops-dns";
|
|
|
|
rev = "v${version}";
|
2024-03-15 03:57:54 +00:00
|
|
|
hash = "sha256-d3vVm6YeQTOAE5HFSKI01L9ZqfbQKrdoLsMwHP5HulE=";
|
2018-01-27 23:25:04 +00:00
|
|
|
};
|
|
|
|
|
2024-03-15 03:57:54 +00:00
|
|
|
vendorHash = "sha256-3DVNjvW0AAdogpTi3GMnn92FqqOUWNdQvRBityyKwcI=";
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2018-01-27 23:25:04 +00:00
|
|
|
meta = with lib; {
|
2024-03-15 03:57:54 +00:00
|
|
|
homepage = "https://github.com/museoa/nixops-dns";
|
2018-01-27 23:25:04 +00:00
|
|
|
description = "DNS server for resolving NixOps machines";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "nixops-dns";
|
2018-01-27 23:25:04 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ kamilchm sorki ];
|
|
|
|
};
|
|
|
|
}
|