mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01: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.
27 lines
643 B
Nix
27 lines
643 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "gopkgs";
|
|
version = "2.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
rev = "v${version}";
|
|
owner = "uudashr";
|
|
repo = "gopkgs";
|
|
hash = "sha256-ll5fhwzzCNL0UtMLNSGOY6Yyy0EqI8OZ1iqWad4KU8k=";
|
|
};
|
|
|
|
vendorHash = "sha256-WVikDxf79nEahKRn4Gw7Pv8AULQXW+RXGoA3ihBhmt8=";
|
|
|
|
subPackages = [ "cmd/gopkgs" ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Tool to get list available Go packages";
|
|
mainProgram = "gopkgs";
|
|
homepage = "https://github.com/uudashr/gopkgs";
|
|
maintainers = with lib.maintainers; [ vdemeester ];
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|