2016-11-10 21:38:41 +00:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "vndr-${version}";
|
2018-01-02 09:51:24 +00:00
|
|
|
version = "20171005-${lib.strings.substring 0 7 rev}";
|
|
|
|
rev = "b57c5799efd5ed743f347a025482babf01ba963e";
|
2016-11-10 21:38:41 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/LK4D4/vndr";
|
2017-05-11 14:14:55 +01:00
|
|
|
excludedPackages = "test";
|
2016-11-10 21:38:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "LK4D4";
|
|
|
|
repo = "vndr";
|
2018-01-02 09:51:24 +00:00
|
|
|
sha256 = "15mmy4a06jgzvlbjbmd89f0xx695x8wg7jqi76kiz495i6figk2v";
|
2016-11-10 21:38:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Stupid golang vendoring tool, inspired by docker vendor script";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://github.com/LK4D4/vndr;
|
2016-11-10 21:38:41 +00:00
|
|
|
maintainers = with lib.maintainers; [ vdemeester ];
|
2017-03-10 19:37:08 +00:00
|
|
|
license = lib.licenses.asl20;
|
2016-11-10 21:38:41 +00:00
|
|
|
};
|
|
|
|
}
|