Skip to content

Commit

Permalink
Run go-makefile-maker
Browse files Browse the repository at this point in the history
  • Loading branch information
sapcc-bot committed Oct 8, 2024
1 parent 646f9d2 commit a95264a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,30 @@

with pkgs;

let
# TODO: drop after https://github.com/NixOS/nixpkgs/pull/347304 got merged
go-licence-detector = buildGoModule rec {
pname = "go-licence-detector";
version = "0.7.0";

src = fetchFromGitHub {
owner = "elastic";
repo = "go-licence-detector";
rev = "v${version}";
hash = "sha256-43MyzEF7BZ7pcgzDvXx9SjXGHaLozmWkGWUO/yf6K98=";
};

vendorHash = "sha256-7vIP5pGFH6CbW/cJp+DiRg2jFcLFEBl8dQzUw1ogTTA=";

meta = with lib; {
description = "Detect licences in Go projects and generate documentation";
homepage = "https://github.com/elastic/go-licence-detector";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
};
in

mkShell {
nativeBuildInputs = [
go-licence-detector
Expand Down

0 comments on commit a95264a

Please sign in to comment.