blob: 1c266d247b7c16f44c8ec2fb54214fcde5b3528e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ lib, fetchFromGitHub, buildGoModule, go-bindata }:
buildGoModule rec {
pname = "magnetico";
version = "0.8.1";
src = fetchFromGitHub {
owner = "boramalper";
repo = "magnetico";
rev = "v${version}";
sha256 = "1f7y3z9ql079ix6ycihkmd3z3da3sfiqw2fap31pbvvjs65sg644";
};
modSha256 = "1h9fij8mxlxfw7kxix00n10fkhkvmf8529fxbk1n30cxc1bs2szf";
buildInputs = [ go-bindata ];
buildPhase = ''
make magneticow magneticod
'';
doCheck = true;
checkPhase = ''
make test
'';
meta = with lib; {
description = "Autonomous (self-hosted) BitTorrent DHT search engine suite.";
homepage = https://github.com/boramalper/magnetico;
license = licenses.agpl3;
badPlatforms = platforms.darwin;
maintainers = with maintainers; [ rnhmjoj ];
};
}
|