1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 12:59:25 +00:00
nixpkgs/pkgs/development/tools/vndr/default.nix
Vincent Demeester 4f58a496c3
vndr: 20161110 -> 20170511
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-05-11 15:14:55 +02:00

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