mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
mkbrr: 1.22.0 -> 1.24.1
From 1.23.0 the repo adds in a separate GUI Go module. Added `subPackages` to only build root CLI package. Added `changelog` to `meta` attrs
This commit is contained in:
@@ -7,16 +7,19 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "mkbrr";
|
||||
version = "1.22.0";
|
||||
version = "1.24.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "autobrr";
|
||||
repo = "mkbrr";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-M4lulMYb6jomS2sZ4E5nA6rP1KmuGiMjQEyuXqyl2vQ=";
|
||||
hash = "sha256-O2zN/qdsIQqT+NieOW/XEKlVqPpacQwCbEQK1EYgSfE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-BNswyeGBhm0CY6D9HcJHTDKIGCJ5QotiwRnr22HltMo=";
|
||||
vendorHash = "sha256-Ow8dQKBmFZj8QsAVqjLrYndklOrwcKOfhtZBdhyjXQs=";
|
||||
|
||||
# From v1.23.0, a separate Go module (GUI) was introduced into the repo. Build only the cli tool.
|
||||
subPackages = [ "." ];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
@@ -38,6 +41,7 @@ buildGoModule (finalAttrs: {
|
||||
meta = {
|
||||
description = "Tool to create, modify and inspect torrent files";
|
||||
homepage = "https://github.com/autobrr/mkbrr";
|
||||
changelog = "https://github.com/autobrr/mkbrr/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ ambroisie ];
|
||||
mainProgram = "mkbrr";
|
||||
|
||||
Reference in New Issue
Block a user