nixpkgs/pkgs/development/tools/vndr/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
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.
2024-03-19 03:14:51 +01:00

26 lines
679 B
Nix

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "vndr-unstable";
version = "2020-07-28";
rev = "f12b881cb8f081a5058408a58f429b9014833fc6";
goPackagePath = "github.com/LK4D4/vndr";
excludedPackages = "test";
src = fetchFromGitHub {
inherit rev;
owner = "LK4D4";
repo = "vndr";
sha256 = "04za4x8p8qzwjlp4i0j0gsb4xx0x9f4yp3ab0b97r50pah1ac2g3";
};
meta = {
description = "Stupid golang vendoring tool, inspired by docker vendor script";
mainProgram = "vndr";
homepage = "https://github.com/LK4D4/vndr";
maintainers = with lib.maintainers; [ vdemeester rvolosatovs ];
license = lib.licenses.asl20;
};
}