mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
ff323ed355
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
29 lines
756 B
Nix
29 lines
756 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, buildGoModule
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "birdwatcher";
|
|
version = "2.2.4";
|
|
|
|
vendorHash = "sha256-NTD2pnA/GeTn4tXtIFJ227qjRtvBFCjWYZv59Rumc74=";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "alice-lg";
|
|
repo = "birdwatcher";
|
|
rev = version;
|
|
hash = "sha256-nsmwq7aUcozpp3av38S9wTKv0kiGfmyglQgse9MWSl4=";
|
|
};
|
|
|
|
deleteVendor = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/alice-lg/birdwatcher";
|
|
description = "A small HTTP server meant to provide an API defined by Barry O'Donovan's birds-eye to the BIRD internet routing daemon";
|
|
changelog = "https://github.com/alice-lg/birdwatcher/blob/master/CHANGELOG";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ janik ];
|
|
};
|
|
}
|