depot/third_party/nixpkgs/pkgs/development/tools/gdlv/default.nix

26 lines
588 B
Nix
Raw Normal View History

{ lib, stdenv, buildGoModule, fetchFromGitHub, OpenGL }:
buildGoModule rec {
pname = "gdlv";
version = "1.8.0";
src = fetchFromGitHub {
owner = "aarzilli";
repo = "gdlv";
rev = "v${version}";
sha256 = "sha256-G1/Wbz836yfGZ/1ArICrNbWU6eh4SHXDmo4FKkjUszY=";
};
vendorSha256 = null;
subPackages = ".";
buildInputs = lib.optionals stdenv.isDarwin [ OpenGL ];
meta = with lib; {
description = "GUI frontend for Delve";
homepage = "https://github.com/aarzilli/gdlv";
maintainers = with maintainers; [ mmlb ];
license = licenses.gpl3;
};
}