nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildGoModule
3, fetchFromGitHub
4}:
5
6buildGoModule rec {
7 pname = "goverview";
8 version = "1.0.1";
9
10 src = fetchFromGitHub {
11 owner = "j3ssie";
12 repo = "goverview";
13 rev = "refs/tags/v${version}";
14 hash = "sha256-IgvpMuDwMK9IdPs1IRbPbpgr7xZuDX3boVT5d7Lb+3w=";
15 };
16
17 vendorHash = "sha256-i/m2s9e8PDfGmguNihynVI3Y7nAXC4weoWFXOwUVDSE=";
18
19 ldflags = [
20 "-w"
21 "-s"
22 ];
23
24 # Tests require network access
25 doCheck = false;
26
27 meta = with lib; {
28 description = "Tool to get an overview of the list of URLs";
29 homepage = "https://github.com/j3ssie/goverview";
30 changelog = "https://github.com/j3ssie/goverview/releases/tag/v${version}";
31 license = licenses.mit;
32 maintainers = with maintainers; [ fab ];
33 };
34}