diff --git a/shell.nix b/shell.nix index 7943f7c..4095237 100644 --- a/shell.nix +++ b/shell.nix @@ -2,30 +2,6 @@ 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