forked from mirrors/nixpkgs
13c6d9af1b
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/lyxg9xfy3r2k5yzfdxy0qyskkanb702b-delve-1.0.0-bin/bin/dlv -h` got 0 exit code - ran `/nix/store/lyxg9xfy3r2k5yzfdxy0qyskkanb702b-delve-1.0.0-bin/bin/dlv --help` got 0 exit code - ran `/nix/store/lyxg9xfy3r2k5yzfdxy0qyskkanb702b-delve-1.0.0-bin/bin/dlv help` got 0 exit code - ran `/nix/store/lyxg9xfy3r2k5yzfdxy0qyskkanb702b-delve-1.0.0-bin/bin/dlv version` and found version 1.0.0 - found 1.0.0 with grep in /nix/store/lyxg9xfy3r2k5yzfdxy0qyskkanb702b-delve-1.0.0-bin - found 1.0.0 in filename of file in /nix/store/lyxg9xfy3r2k5yzfdxy0qyskkanb702b-delve-1.0.0-bin
25 lines
698 B
Nix
25 lines
698 B
Nix
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "delve-${version}";
|
|
version = "1.0.0";
|
|
|
|
goPackagePath = "github.com/derekparker/delve";
|
|
excludedPackages = "\\(_fixtures\\|scripts\\|service/test\\)";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "derekparker";
|
|
repo = "delve";
|
|
rev = "v${version}";
|
|
sha256 = "08hsairhrifh41d288jhc65zbhs9k0hs738dbdzsbcvlmycrhvgx";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "debugger for the Go programming language";
|
|
homepage = https://github.com/derekparker/delve;
|
|
maintainers = with maintainers; [ vdemeester ];
|
|
license = licenses.mit;
|
|
platforms = [ "x86_64-linux" ] ++ platforms.darwin;
|
|
};
|
|
}
|