summary refs log tree commit diff
path: root/pkgs/development/tools/gdlv/default.nix
blob: 7dfa53901c4d777da7f72a66ab9b3e90cd9c1da0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
, OpenGL
, AppKit
}:

buildGoModule rec {
  pname = "gdlv";
  version = "1.8.0";

  src = fetchFromGitHub {
    owner = "aarzilli";
    repo = "gdlv";
    rev = "v${version}";
    sha256 = "sha256-G1/Wbz836yfGZ/1ArICrNbWU6eh4SHXDmo4FKkjUszY=";
  };

  vendorHash = null;
  subPackages = ".";

  buildInputs = lib.optionals stdenv.isDarwin [ OpenGL AppKit ];

  meta = with lib; {
    description = "GUI frontend for Delve";
    homepage = "https://github.com/aarzilli/gdlv";
    maintainers = with maintainers; [ mmlb ];
    license = licenses.gpl3;
  };
}