nixpkgs/pkgs/development/tools/vndr/default.nix
Vincent Demeester 114cb09c5c
vndr: 20170511-0cb33a0 -> 20171005-b57c579
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2018-01-02 10:51:24 +01:00

24 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;
};
}