nixpkgs/pkgs/by-name/bi/bitmagnet/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
936 B
Nix
Raw Normal View History

2023-10-08 18:20:31 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
2023-12-26 11:21:12 +00:00
, nix-update-script
2023-10-08 18:20:31 +00:00
}:
buildGoModule rec {
pname = "bitmagnet";
2024-02-15 09:17:57 +00:00
version = "0.7.0";
2023-10-08 18:20:31 +00:00
src = fetchFromGitHub {
owner = "bitmagnet-io";
repo = "bitmagnet";
rev = "v${version}";
2024-02-15 09:17:57 +00:00
hash = "sha256-lomTfG6Fo4IywI8VMRvv4mBNRxLCq6IQGIuaR61UwOE=";
2023-10-08 18:20:31 +00:00
};
2024-02-15 09:17:57 +00:00
vendorHash = "sha256-tKU4GoaEwwdbpWjojx+Z/mWxXKjceJPYRg5UTpYzad4=";
2023-10-08 18:20:31 +00:00
ldflags = [ "-s" "-w" ];
2023-12-26 11:21:12 +00:00
passthru = {
updateScript = nix-update-script { };
};
2023-10-08 18:20:31 +00:00
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;
2023-12-26 11:21:12 +00:00
maintainers = with lib.maintainers; [ eclairevoyant viraptor ];
2023-10-08 18:20:31 +00:00
mainProgram = "bitmagnet";
};
}