2016-11-10 22:38:41 +01:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "vndr-${version}";
|
2018-01-02 10:51:24 +01:00
|
|
|
version = "20171005-${lib.strings.substring 0 7 rev}";
|
|
|
|
rev = "b57c5799efd5ed743f347a025482babf01ba963e";
|
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";
|
2018-01-02 10:51:24 +01:00
|
|
|
sha256 = "15mmy4a06jgzvlbjbmd89f0xx695x8wg7jqi76kiz495i6figk2v";
|
2016-11-10 22:38:41 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Stupid golang vendoring tool, inspired by docker vendor script";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/LK4D4/vndr;
|
2016-11-10 22:38:41 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|