pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / servers / misc / starcharts / default.nix
blobc866f18b2c6af0e858d3813594382381de933f48
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "starcharts";
8   version = "1.9.1";
10   src = fetchFromGitHub {
11     owner = "caarlos0";
12     repo = "starcharts";
13     rev = "v${version}";
14     hash = "sha256-RLGKf5+HqJlZUhA5C3cwDumIhlbXcOr5iitI+7GZPBc=";
15   };
17   vendorHash = "sha256-BlVjGG6dhh7VO9driT0rnpbW6lORojiV+YhrV1Zlj4M=";
19   ldflags = [
20     "-s"
21     "-w"
22     "-X=main.version=${version}"
23   ];
25   __darwinAllowLocalNetworking = true;
27   meta = with lib; {
28     description = "Plot your repository stars over time";
29     mainProgram = "starcharts";
30     homepage = "https://github.com/caarlos0/starcharts";
31     changelog = "https://github.com/caarlos0/starcharts/releases/tag/${src.rev}";
32     license = licenses.mit;
33     maintainers = with maintainers; [ figsoda ];
34   };