Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 61a79754bd8e
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8b018a3fd451
Choose a head ref
  • 3 commits
  • 3 files changed
  • 1 contributor

Commits on Mar 24, 2020

  1. dnscontrol: init at 3.0.0.

    mmahut committed Mar 24, 2020
    Copy the full SHA
    3f5fd76 View commit details
  2. Copy the full SHA
    6ca4160 View commit details

Commits on Mar 30, 2020

  1. Merge pull request #83273 from mmahut/dnscontrol

    dnscontrol: init at 3.0.0
    mmahut authored Mar 30, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8b018a3 View commit details
Showing with 1,266 additions and 0 deletions.
  1. +28 −0 pkgs/applications/networking/dnscontrol/default.nix
  2. +1,236 −0 pkgs/applications/networking/dnscontrol/deps.nix
  3. +2 −0 pkgs/top-level/all-packages.nix
28 changes: 28 additions & 0 deletions pkgs/applications/networking/dnscontrol/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ 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";
};

postInstall = ''
rm $bin/bin/{build,convertzone,generate,validate}
'';

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 ];
};
}
Loading