mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 01:51:24 +00:00
4f58a496c3
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
25 lines
681 B
Nix
25 lines
681 B
Nix
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "vndr-${version}";
|
|
version = "20170511-${lib.strings.substring 0 7 rev}";
|
|
rev = "0cb33a0eb64c8ca73b8e2939a3430b22fbb8d3e3";
|
|
|
|
goPackagePath = "github.com/LK4D4/vndr";
|
|
excludedPackages = "test";
|
|
|
|
src = fetchFromGitHub {
|
|
inherit rev;
|
|
owner = "LK4D4";
|
|
repo = "vndr";
|
|
sha256 = "02vdr59xn79hffayfcxg29nf62rdc33a60i104fgj746kcswgy5n";
|
|
};
|
|
|
|
meta = {
|
|
description = "Stupid golang vendoring tool, inspired by docker vendor script";
|
|
homepage = "https://github.com/LK4D4/vndr";
|
|
maintainers = with lib.maintainers; [ vdemeester ];
|
|
license = lib.licenses.asl20;
|
|
};
|
|
}
|