about summary refs log tree commit diff
path: root/pkgs/by-name
diff options
context:
space:
mode:
authorStanisław Pitucha <git@viraptor.info>2023-12-27 11:39:52 +1100
committerGitHub <noreply@github.com>2023-12-27 11:39:52 +1100
commitcfc3698c31b1fb9cdcf10f36c9643460264d0ca8 (patch)
treef063e81d2fc6f7643573cad031225dabb6d1fcd5 /pkgs/by-name
parent6a9bfbfa1001235034f486b52791830451bf0bf1 (diff)
parentd6a18d3407d02f1913728f093a35b422e2f737da (diff)
Merge pull request #276901 from viraptor/bump-bitmagnet
bitmagnet: 0.0.6 -> 0.4.1
Diffstat (limited to 'pkgs/by-name')
-rw-r--r--pkgs/by-name/bi/bitmagnet/package.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgs/by-name/bi/bitmagnet/package.nix b/pkgs/by-name/bi/bitmagnet/package.nix
index a34802c5de1ef..e5af5e0bd43be 100644
--- a/pkgs/by-name/bi/bitmagnet/package.nix
+++ b/pkgs/by-name/bi/bitmagnet/package.nix
@@ -1,23 +1,28 @@
 { lib
 , buildGoModule
 , fetchFromGitHub
+, nix-update-script
 }:
 
 buildGoModule rec {
   pname = "bitmagnet";
-  version = "0.0.6";
+  version = "0.4.1";
 
   src = fetchFromGitHub {
     owner = "bitmagnet-io";
     repo = "bitmagnet";
     rev = "v${version}";
-    hash = "sha256-+KAIHg8M2CM+GRRv+htmev8MFe/Y1sJ8p+um/c7kI7c=";
+    hash = "sha256-Geukd4JYwmdG7M+HDCCqpiUjor1TWsqBY42ACd+LasU=";
   };
 
-  vendorHash = "sha256-ydiZ3KMEiVkmdzhHjYYLJ7wuiKmwlMEn4OWrKSOnaSo=";
+  vendorHash = "sha256-TbfbrvXbO+eOb1Ot/gWRBjggTj9jkSGulHIJdziqsVc=";
 
   ldflags = [ "-s" "-w" ];
 
+  passthru = {
+    updateScript = nix-update-script { };
+  };
+
   meta = {
     description = "A self-hosted BitTorrent indexer, DHT crawler, and torrent search engine";
     longDescription = ''
@@ -25,7 +30,7 @@ buildGoModule rec {
     '';
     homepage = "https://bitmagnet.io/";
     license = lib.licenses.mit;
-    maintainers = with lib.maintainers; [ eclairevoyant ];
+    maintainers = with lib.maintainers; [ eclairevoyant viraptor ];
     mainProgram = "bitmagnet";
   };
 }