Code change:
<del> { lib, buildGoPackage, fetchurl, fetchFromGitHub, go-bindata }: </del> <ins> { lib, buildGoModule, fetchurl, fetchFromGitHub }: </ins> let <del> version = "1.6.4"; </del> <ins> version = "1.8.0"; </ins> # TODO: must build the extension instead of downloading it. But since it's # literally an asset that is indifferent regardless of the platform, this # might be just enough. webext = fetchurl { <del> url = "https://github.com/browsh-org/browsh/releases/download/v${version}/browsh-${version}-an.fx.xpi"; sha256 = "1shf1s9s525wns5vrsc4ns21zjxm1si43lx6v0q8ma6vd5x5445l"; </del> <ins> url = "https://github.com/browsh-org/browsh/releases/download/v${version}/browsh-${version}.xpi"; sha256 = "sha256-12xWbf4ngYHWLKV9yyxyi0Ny/zHSj2o7Icats+Ef+pA="; </ins> }; <del> in buildGoPackage rec { </del> <ins> in buildGoModule rec { </ins> inherit version; pname = "browsh"; <del> goPackagePath = "browsh"; </del> <ins> sourceRoot = "source/interfacer"; </ins> <del> # further go package dependencies are defined in deps.nix, see line below. </del> src = fetchFromGitHub { owner = "browsh-org"; repo = "browsh"; rev = "v${version}"; <del> sha256 = "0gvf5k1gm81xxg7ha309kgfkgl5357dli0fbc4z01rmfgbl0rfa0"; </del> <ins> sha256 = "sha256-/tH1w6qi+rimsqtk8Y8AYljU3X4vbmoDtV07piWSBdw="; </ins> }; <del> nativeBuildInputs = [ go-bindata ]; </del> <ins> vendorSha256 = "sha256-eCvV3UuM/JtCgMqvwvqWF3bpOmPSos5Pfhu6ETaS58c="; </ins> <del> # embed the web extension in a go file and place it where it's supposed to # be. See # https://github.com/browsh-org/browsh/blob/v1.5.0/interfacer/contrib/xpi2bin.sh </del> preBuild = '' <del> xpiprefix="$(mktemp -d)" cp "${webext}" "$xpiprefix/browsh.xpi" go-bindata  -prefix "$xpiprefix"  -pkg browsh  -o "$NIX_BUILD_TOP/go/src/${goPackagePath}/interfacer/src/browsh/webextension.go"  "$xpiprefix/browsh.xpi" sed  -e 's:Asset("/browsh.xpi"):Asset("browsh.xpi"):g'  -i "$NIX_BUILD_TOP/go/src/${goPackagePath}/interfacer/src/browsh/firefox.go" ''; postBuild = '' mv "$NIX_BUILD_TOP/go/bin/src" "$NIX_BUILD_TOP/go/bin/browsh" </del> <ins> cp "${webext}" src/browsh/browsh.xpi </ins> ''; <del> goDeps = ./deps.nix; </del> <ins> # Tests require network access doCheck = false; </ins> meta = with lib; { description = "A fully-modern text-based browser, rendering to TTY and browsers"; homepage = "https://www.brow.sh/"; <del> maintainers = [ maintainers.kalbasit ]; </del> <ins> maintainers = with maintainers; [ kalbasit siraben ]; </ins> license = lib.licenses.lgpl21; platforms = lib.platforms.linux ++ lib.platforms.darwin; };

Related discussion:
text: First release in three years. <!-- Note that these are hard requirements --<!-- You can use the "Go to file" functionality on GitHub to find the package Then you can go to the history for this package Find the latest "packagename: oldversion -newversion" commit The "newversion" is the current version of the package --- <!-- Type the name of your package and try to find an open pull request for the package If you find an open pull request, you can review it! There's a high chance that you'll have the new version right away while helping the community! --- name: <!-- The current version can be found easily with the same process as above for checking the master branch If an open PR is present for the package, take this version as the current one and link to the PR --current version: 1.6.4 desired version: 1.8.0 <!-- Search your package here: If no maintainer is listed for your package, tag the person that last updated the package --maintainers: Please tag this issue in your PR.
cc who might be able to help with building the extension from source