Merge pull request #276901 from viraptor/bump-bitmagnet

bitmagnet: 0.0.6 -> 0.4.1
This commit is contained in:
Stanisław Pitucha 2023-12-27 11:39:52 +11:00 committed by GitHub
commit cfc3698c31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";
};
}