mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
25 lines
625 B
Nix
25 lines
625 B
Nix
|
{ stdenv, fetchFromGitHub, buildGoPackage}:
|
||
|
|
||
|
buildGoPackage rec {
|
||
|
pname = "dnscontrol";
|
||
|
version = "3.0.0";
|
||
|
|
||
|
goPackagePath = "github.com/StackExchange/dnscontrol";
|
||
|
|
||
|
goDeps = ./deps.nix;
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "StackExchange";
|
||
|
repo = pname;
|
||
|
rev = "v${version}";
|
||
|
sha256 = "1j8i4k7bqkqmi6dmc9fxfab49a7qigig72rlbga902lw336p6cc7";
|
||
|
};
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
description = "Synchronize your DNS to multiple providers from a simple DSL";
|
||
|
homepage = "https://stackexchange.github.io/dnscontrol/";
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [ mmahut ];
|
||
|
};
|
||
|
}
|