mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
f4bed1e06e
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
24 lines
652 B
Nix
24 lines
652 B
Nix
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "vndr-${version}";
|
|
version = "20161110-${lib.strings.substring 0 7 rev}";
|
|
rev = "cf8678fba5591fbacc4dafab1a22d64f6c603c20";
|
|
|
|
goPackagePath = "github.com/LK4D4/vndr";
|
|
|
|
src = fetchFromGitHub {
|
|
inherit rev;
|
|
owner = "LK4D4";
|
|
repo = "vndr";
|
|
sha256 = "1fbrpdpfir05hqj1dr8rxw8hnjkhl0xbzncxkva56508vyyzbxcs";
|
|
};
|
|
|
|
meta = {
|
|
description = "Stupid golang vendoring tool, inspired by docker vendor script";
|
|
homepage = "https://github.com/LK4D4/vndr";
|
|
maintainers = with lib.maintainers; [ vdemeester ];
|
|
licence = lib.licenses.asl20;
|
|
};
|
|
}
|