3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/p2p/dht/default.nix
2021-08-16 14:41:33 +10:00

25 lines
633 B
Nix

{ stdenv, lib, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "dht";
version = "0.25";
src = fetchFromGitHub {
# Use transmission fork from post-0.25-transmission branch
owner = "transmission";
repo = pname;
rev = "25e12bb39eea3d433602de6390796fec8a8f3620";
sha256 = "fksi8WBQPydgSlISaZMMnxzt4xN7/Hh7aN6QQ+g/L7s=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "BitTorrent DHT library";
homepage = "https://github.com/transmission/dht";
license = licenses.mit;
maintainers = with maintainers; [ angustrau ];
platforms = platforms.unix;
};
}