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 { lib
, buildGoModule , buildGoModule
, fetchFromGitHub , fetchFromGitHub
, nix-update-script
}: }:
buildGoModule rec { buildGoModule rec {
pname = "bitmagnet"; pname = "bitmagnet";
version = "0.0.6"; version = "0.4.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bitmagnet-io"; owner = "bitmagnet-io";
repo = "bitmagnet"; repo = "bitmagnet";
rev = "v${version}"; 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" ]; ldflags = [ "-s" "-w" ];
passthru = {
updateScript = nix-update-script { };
};
meta = { meta = {
description = "A self-hosted BitTorrent indexer, DHT crawler, and torrent search engine"; description = "A self-hosted BitTorrent indexer, DHT crawler, and torrent search engine";
longDescription = '' longDescription = ''
@ -25,7 +30,7 @@ buildGoModule rec {
''; '';
homepage = "https://bitmagnet.io/"; homepage = "https://bitmagnet.io/";
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = with lib.maintainers; [ eclairevoyant ]; maintainers = with lib.maintainers; [ eclairevoyant viraptor ];
mainProgram = "bitmagnet"; mainProgram = "bitmagnet";
}; };
} }