mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
24 lines
697 B
Nix
24 lines
697 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "go-outline";
|
|
version = "unstable-2021-06-08";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ramya-rao-a";
|
|
repo = "go-outline";
|
|
rev = "9736a4bde949f321d201e5eaa5ae2bcde011bf00";
|
|
sha256 = "sha256-5ns6n1UO9kRSw8iio4dmJDncsyvFeN01bjxHxQ9Fae4=";
|
|
};
|
|
|
|
vendorHash = "sha256-jYYtSXdJd2eUc80UfwRRMPcX6tFiXE3LbxV3NAdKVKE=";
|
|
|
|
meta = with lib; {
|
|
description = "Utility to extract JSON representation of declarations from a Go source file";
|
|
mainProgram = "go-outline";
|
|
homepage = "https://github.com/ramya-rao-a/go-outline";
|
|
maintainers = with maintainers; [ vdemeester ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|