diff --git a/pkgs/development/tools/vndr/default.nix b/pkgs/development/tools/vndr/default.nix new file mode 100644 index 000000000000..7cc77bd1bb39 --- /dev/null +++ b/pkgs/development/tools/vndr/default.nix @@ -0,0 +1,23 @@ +{ stdenv, lib, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + name = "vndr-${version}"; + version = "20161110-${lib.strings.substring 0 7 rev}"; + rev = "cf8678fba5591fbacc4dafab1a22d64f6c603c20"; + + goPackagePath = "github.com/LK4D4/vndr"; + + src = fetchFromGitHub { + inherit rev; + owner = "LK4D4"; + repo = "vndr"; + sha256 = "1fbrpdpfir05hqj1dr8rxw8hnjkhl0xbzncxkva56508vyyzbxcs"; + }; + + meta = { + description = "Stupid golang vendoring tool, inspired by docker vendor script"; + homepage = "https://github.com/LK4D4/vndr"; + maintainers = with lib.maintainers; [ vdemeester ]; + licence = lib.licenses.asl20; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 679d8037995a..831be279b67a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11798,6 +11798,8 @@ in qt5 = null; }; + vndr = callPackage ../development/tools/vndr { }; + windows = rec { cygwinSetup = callPackage ../os-specific/windows/cygwin-setup { };