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