2016-11-10 21:38:41 +00:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "vndr-${version}";
|
2017-05-11 14:14:55 +01:00
|
|
|
version = "20170511-${lib.strings.substring 0 7 rev}";
|
|
|
|
rev = "0cb33a0eb64c8ca73b8e2939a3430b22fbb8d3e3";
|
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";
|
2017-05-11 14:14:55 +01:00
|
|
|
sha256 = "02vdr59xn79hffayfcxg29nf62rdc33a60i104fgj746kcswgy5n";
|
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
|
|
|
};
|
|
|
|
}
|