c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
36 lines
936 B
Nix
36 lines
936 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
, nix-update-script
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "bitmagnet";
|
|
version = "0.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bitmagnet-io";
|
|
repo = "bitmagnet";
|
|
rev = "v${version}";
|
|
hash = "sha256-lomTfG6Fo4IywI8VMRvv4mBNRxLCq6IQGIuaR61UwOE=";
|
|
};
|
|
|
|
vendorHash = "sha256-tKU4GoaEwwdbpWjojx+Z/mWxXKjceJPYRg5UTpYzad4=";
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = {
|
|
description = "A self-hosted BitTorrent indexer, DHT crawler, and torrent search engine";
|
|
longDescription = ''
|
|
A self-hosted BitTorrent indexer, DHT crawler, content classifier and torrent search engine with web UI, GraphQL API and Servarr stack integration.
|
|
'';
|
|
homepage = "https://bitmagnet.io/";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ eclairevoyant viraptor ];
|
|
mainProgram = "bitmagnet";
|
|
};
|
|
}
|