mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
114cb09c5c
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
25 lines
679 B
Nix
25 lines
679 B
Nix
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "vndr-${version}";
|
|
version = "20171005-${lib.strings.substring 0 7 rev}";
|
|
rev = "b57c5799efd5ed743f347a025482babf01ba963e";
|
|
|
|
goPackagePath = "github.com/LK4D4/vndr";
|
|
excludedPackages = "test";
|
|
|
|
src = fetchFromGitHub {
|
|
inherit rev;
|
|
owner = "LK4D4";
|
|
repo = "vndr";
|
|
sha256 = "15mmy4a06jgzvlbjbmd89f0xx695x8wg7jqi76kiz495i6figk2v";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|