nixpkgs/pkgs/servers/skydns/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

36 lines
982 B
Nix

{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
buildGoModule rec {
pname = "skydns";
version = "unstable-2019-10-15";
src = fetchFromGitHub {
owner = "skynetservices";
repo = "skydns";
rev = "94b2ea0d8bfa43395656ea94d4a6235bdda47129";
hash = "sha256-OWLJmGx21UoWwrm6YNbPYdj3OgEZz7C+xccnkMOZ71g=";
};
vendorHash = "sha256-J3+DACU9JuazGCZZrfKxHukG5M+nb+WbV3eTG8EaT/w=";
patches = [
# Add Go Modules support
(fetchpatch {
url = "https://github.com/skynetservices/skydns/commit/37be34cd64a3037a6d5a3b3dbb673f391e9d7eb1.patch";
hash = "sha256-JziYREg3vw8NMIPd8Zv8An7XUj+U6dvgRcaZph0DLPg=";
})
];
subPackages = [ "." ];
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Distributed service for announcement and discovery of services";
homepage = "https://github.com/skynetservices/skydns";
license = lib.licenses.mit;
maintainers = with maintainers; [ ];
mainProgram = "skydns";
};
}