mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
[Backport release-26.05] prometheus-qbittorrent-exporter: 1.13.0 -> 2.0.1 (#529710)
This commit is contained in:
commit
59378cb4a1
1 changed files with 6 additions and 4 deletions
|
|
@ -6,23 +6,25 @@
|
|||
}:
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "prometheus-qbittorrent-exporter";
|
||||
version = "1.13.0";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "martabal";
|
||||
repo = "qbittorrent-exporter";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-ivHTGj2+6c23KW5aT5a8NFzUxV13u0y9UnHttZYTkuA=";
|
||||
hash = "sha256-bVfYDIT3FMCFs/p+fFwm+xKiqbffPJ26Z2KFmBlqMjg=";
|
||||
};
|
||||
sourceRoot = "${finalAttrs.src.name}/src";
|
||||
|
||||
vendorHash = "sha256-FHKt2QpvianVVbAJUcaou/+Ok69a8NbkM7ymVgxUi0I=";
|
||||
vendorHash = "sha256-vw4uwQt/PI8yl81NC3wAdgCiPacg/Pmv2MNlnR9Y/v0=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-X 'qbit-exp/app.version=v${finalAttrs.version}'"
|
||||
];
|
||||
|
||||
# Tests create a local http server
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue