Change:
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

Discussion:
<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; };

<del> # file generated from Gopkg.lock using dep2nix (https://github.com/nixcloud/dep2nix) [ { goPackagePath  = "github.com/NYTimes/gziphandler"; fetch = { type = "git"; url = "https://github.com/NYTimes/gziphandler"; rev =  "dd0439581c7657cb652dfe5c71d7d48baf39541d"; sha256 = "0rhrjlw220hnymzfccm0yir3pc9dpj7h3gwzhzq2cbsb3hhsqvyy"; }; } { goPackagePath  = "github.com/fsnotify/fsnotify"; fetch = { type = "git"; url = "https://github.com/fsnotify/fsnotify"; rev =  "c2828203cd70a50dcccfb2761f8b1f8ceef9a8e9"; sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g"; }; } { goPackagePath  = "github.com/gdamore/encoding"; fetch = { type = "git"; url = "https://github.com/gdamore/encoding"; rev =  "6289cdc94c00ac4aa177771c5fce7af2f96b626d"; sha256 = "1vmm5zll92i2fm4ajqx0gyx0p9j36496x5nabi3y0x7h0inv0pk9"; }; } { goPackagePath  = "github.com/gdamore/tcell"; fetch = { type = "git"; url = "https://github.com/gdamore/tcell"; rev =  "b5d0c1ac570211e469f43ff88c0c6aa4b56cc99a"; sha256 = "0g2zfbgyk3djlk0qpmrgcyy0ba9ad932yswpaacswi21qyf9gwag"; }; } { goPackagePath  = "github.com/go-errors/errors"; fetch = { type = "git"; url = "https://github.com/go-errors/errors"; rev =  "a6af135bd4e28680facf08a3d206b454abc877a4"; sha256 = "0rznpknk19rxkr7li6dqs52c26pjazp69lh493l4ny4sxn5922lp"; }; } { goPackagePath  = "github.com/gorilla/websocket"; fetch = { type = "git"; url = "https://github.com/gorilla/websocket"; rev =  "66b9c49e59c6c48f0ffce28c2d8b8a5678502c6d"; sha256 = "00i4vb31nsfkzzk7swvx3i75r2d960js3dri1875vypk3v2s0pzk"; }; } { goPackagePath  = "github.com/hashicorp/hcl"; fetch = { type = "git"; url = "https://github.com/hashicorp/hcl"; rev =  "8cb6e5b959231cc1119e43259c4a608f9c51a241"; sha256 = "0q6ml0qqs0yil76mpn4mdx4lp94id8vbv575qm60jzl1ijcl5i66"; }; } { goPackagePath  = "github.com/hpcloud/tail"; fetch = { type = "git"; url = "https://github.com/hpcloud/tail"; rev =  "a30252cb686a21eb2d0b98132633053ec2f7f1e5"; sha256 = "1njpzc0pi1acg5zx9y6vj9xi6ksbsc5d387rd6904hy6rh2m6kn0"; }; } { goPackagePath  = "github.com/lucasb-eyer/go-colorful"; fetch = { type = "git"; url = "https://github.com/lucasb-eyer/go-colorful"; rev =  "30298f24079860c4dee452fdef6519b362a4a026"; sha256 = "0fig06880bvk1l92j4127v4x9sar4ds7ga8959gxxghb2w70b7l2"; }; } { goPackagePath  = "github.com/magiconair/properties"; fetch = { type = "git"; url = "https://github.com/magiconair/properties"; rev =  "de8848e004dd33dc07a2947b3d76f618a7fc7ef1"; sha256 = "19zqw1x0w0crh8zc84yy82nkcc5yjz72gviaf2xjgfm5a8np7nyb"; }; } { goPackagePath  = "github.com/mattn/go-runewidth"; fetch = { type = "git"; url = "https://github.com/mattn/go-runewidth"; rev =  "3ee7d812e62a0804a7d0a324e0249ca2db3476d3"; sha256 = "00b3ssm7wiqln3k54z2wcnxr3k3c7m1ybyhb9h8ixzbzspld0qzs"; }; } { goPackagePath  = "github.com/mitchellh/mapstructure"; fetch = { type = "git"; url = "https://github.com/mitchellh/mapstructure"; rev =  "3536a929edddb9a5b34bd6861dc4a9647cb459fe"; sha256 = "03bpv28jz9zhn4947saqwi328ydj7f6g6pf1m2d4m5zdh5jlfkrr"; }; } { goPackagePath  = "github.com/onsi/ginkgo"; fetch = { type = "git"; url = "https://github.com/onsi/ginkgo"; rev =  "eea6ad008b96acdaa524f5b409513bf062b500ad"; sha256 = "1326s5fxgasdpz1qqwrw4n5p3k0vz44msnyz14knrhlw5l97lx33"; }; } { goPackagePath  = "github.com/onsi/gomega"; fetch = { type = "git"; url = "https://github.com/onsi/gomega"; rev =  "90e289841c1ed79b7a598a7cd9959750cb5e89e2"; sha256 = "1n7i4hksdgv410m43v2sw14bl5vy59dkp6nlw5l76nibbh37syr9"; }; } { goPackagePath  = "github.com/pelletier/go-toml"; fetch = { type = "git"; url = "https://github.com/pelletier/go-toml"; rev =  "728039f679cbcd4f6a54e080d2219a4c4928c546"; sha256 = "1v76s3vds0i9dxaha4ikd6xjm7vqqfk6sy9l6jc2lsvmj99d5sy6"; }; } { goPackagePath  = "github.com/pkg/errors"; fetch = { type = "git"; url = "https://github.com/pkg/errors"; rev =  "ba968bfe8b2f7e042a574c888954fccecfa385b4"; sha256 = "0g5qcb4d4fd96midz0zdk8b9kz8xkzwfa8kr1cliqbg8sxsy5vd1"; }; } { goPackagePath  = "github.com/shibukawa/configdir"; fetch = { type = "git"; url = "https://github.com/shibukawa/configdir"; rev =  "e180dbdc8da04c4fa04272e875ce64949f38bd3e"; sha256 = "0vbma9jkwh0ifz8dk2ssgmy7aiaify63lpa0lah7i4dkkxr94c9z"; }; } { goPackagePath  = "github.com/spf13/afero"; fetch = { type = "git"; url = "https://github.com/spf13/afero"; rev =  "588a75ec4f32903aa5e39a2619ba6a4631e28424"; sha256 = "0j9r65qgd58324m85lkl49vk9dgwd62g7dwvkfcm3k6i9dc555a9"; }; } { goPackagePath  = "github.com/spf13/cast"; fetch = { type = "git"; url = "https://github.com/spf13/cast"; rev =  "8c9545af88b134710ab1cd196795e7f2388358d7"; sha256 = "0xq1ffqj8y8h7dcnm0m9lfrh0ga7pssnn2c1dnr09chqbpn4bdc5"; }; } { goPackagePath  = "github.com/spf13/jwalterweatherman"; fetch = { type = "git"; url = "https://github.com/spf13/jwalterweatherman"; rev =  "94f6ae3ed3bceceafa716478c5fbf8d29ca601a1"; sha256 = "1ywmkwci5zyd88ijym6f30fj5c0k2yayxarkmnazf5ybljv50q7b"; }; } { goPackagePath  = "github.com/spf13/pflag"; fetch = { type = "git"; url = "https://github.com/spf13/pflag"; rev =  "298182f68c66c05229eb03ac171abe6e309ee79a"; sha256 = "1cj3cjm7d3zk0mf1xdybh0jywkbbw7a6yr3y22x9sis31scprswd"; }; } { goPackagePath  = "github.com/spf13/viper"; fetch = { type = "git"; url = "https://github.com/spf13/viper"; rev =  "b5bf975e5823809fb22c7644d008757f78a4259e"; sha256 = "1zpzxvn13wpvbblbbn73svaq39zgxfjqhci9d68g3qf309pcfy19"; }; } { goPackagePath  = "github.com/ulule/limiter"; fetch = { type = "git"; url = "https://github.com/ulule/limiter"; rev =  "38b2a440be905c8be884fd5e114dc893a64e5d81"; sha256 = "0sbbfz9k3m2hf45cx7y7xshsr3rac495lks9ciwmnrzsnxfdh3l5"; }; } { goPackagePath  = "golang.org/x/net"; fetch = { type = "git"; url = "https://go.googlesource.com/net"; rev =  "461777fb6f67e8cb9d70cda16573678d085a74cf"; sha256 = "0sc0llch05q6h7nqgayi3sgismsznpnlsz4gh89y4klpymdcpbh2"; }; } { goPackagePath  = "golang.org/x/sys"; fetch = { type = "git"; url = "https://go.googlesource.com/sys"; rev =  "93c9922d18aeb82498a065f07aec7ad7fa60dfb7"; sha256 = "0hv96nwbv0li3nrv43ldfzmf12yrrbji2cf8n44iibv8ps5kfssx"; }; } { goPackagePath  = "golang.org/x/text"; fetch = { type = "git"; url = "https://go.googlesource.com/text"; rev =  "342b2e1fbaa52c93f31447ad2c6abc048c63e475"; sha256 = "0flv9idw0jm5nm8lx25xqanbkqgfiym6619w575p7nrdh0riqwqh"; }; } { goPackagePath  = "gopkg.in/fsnotify.v1"; fetch = { type = "git"; url = "https://github.com/fsnotify/fsnotify"; rev =  "c2828203cd70a50dcccfb2761f8b1f8ceef9a8e9"; sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g"; }; } { goPackagePath  = "gopkg.in/tomb.v1"; fetch = { type = "git"; url = "https://github.com/go-tomb/tomb"; rev =  "dd632973f1e7218eb1089048e0798ec9ae7dceb8"; sha256 = "1lqmq1ag7s4b3gc3ddvr792c5xb5k6sfn0cchr3i2s7f1c231zjv"; }; } { goPackagePath  = "gopkg.in/yaml.v2"; fetch = { type = "git"; url = "https://github.com/go-yaml/yaml"; rev =  "51d6538a90f86fe93ac480b35f37b2be17fef232"; sha256 = "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa"; }; } ] </del>