forked from mirrors/nixpkgs
bitmagnet: 0.0.6 -> 0.4.1
This commit is contained in:
parent
62dbffc2d7
commit
d6a18d3407
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue