Merge pull request #296062 from aaronjheng/nixops-dns

nixops-dns: 1.0 -> 1.0.1
This commit is contained in:
Weijia Wang 2024-03-17 16:03:06 +01:00 committed by GitHub
commit 948fd5cfdc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 29 deletions

View File

@ -1,20 +0,0 @@
[
{
goPackagePath = "github.com/mattn/go-sqlite3";
fetch = {
type = "git";
url = "https://github.com/mattn/go-sqlite3";
rev = "b4142c444a8941d0d92b0b7103a24df9cd815e42";
sha256 = "0xq2y4am8dz9w9aaq24s1npg1sn8pf2gn4nki73ylz2fpjwq9vla";
};
}
{
goPackagePath = "github.com/miekg/dns";
fetch = {
type = "git";
url = "https://github.com/miekg/dns";
rev = "75229eecb7af00b2736e93b779a78429dcb19472";
sha256 = "1vsjy07kkyx11iz4qsihhykac3ddq3ywdgv6bwrv407504f7x6wl";
};
}
]

View File

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