blob: 2c257a1294ac52343613762e9feea555e5b6e508 (
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
|
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, Security }:
rustPlatform.buildRustPackage rec {
name = "synapse-bt-unstable-${version}";
version = "2018-06-04";
src = fetchFromGitHub {
owner = "Luminarys";
repo = "synapse";
rev = "ec8f23a14af21426ab0c4f8953dd954f747850ab";
sha256 = "0d1rrwnk333zz9g8s40i75xgdkpz6a1j01ajsh32yvzvbi045zkw";
};
cargoSha256 = "1psrmgf6ddzqwx7gf301rx84asfnvxpsvkx2fan453v65819k960";
buildInputs = [ pkgconfig openssl ] ++ stdenv.lib.optional stdenv.isDarwin Security;
cargoBuildFlags = [ "--all" ];
meta = with stdenv.lib; {
description = "Flexible and fast BitTorrent daemon";
homepage = https://synapse-bt.org/;
license = licenses.isc;
maintainers = with maintainers; [ dywedir ];
platforms = platforms.all;
};
}
|