diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-05-11 18:28:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-11 18:28:07 +0000 |
commit | 37c26a396b2b28cd764389ccc4d3b4c5cb83aa5f (patch) | |
tree | 440900efd139634c187ebcebe007664578fa0dba /pkgs/applications/networking/p2p | |
parent | 1e7a48b47423ea574cdbf9027574c2f7ccd4e53f (diff) | |
parent | 010661db264f408da24cef0601ea812f51b1a3a0 (diff) | |
download | nixpkgs-37c26a396b2b28cd764389ccc4d3b4c5cb83aa5f.tar nixpkgs-37c26a396b2b28cd764389ccc4d3b4c5cb83aa5f.tar.gz nixpkgs-37c26a396b2b28cd764389ccc4d3b4c5cb83aa5f.tar.bz2 nixpkgs-37c26a396b2b28cd764389ccc4d3b4c5cb83aa5f.tar.lz nixpkgs-37c26a396b2b28cd764389ccc4d3b4c5cb83aa5f.tar.xz nixpkgs-37c26a396b2b28cd764389ccc4d3b4c5cb83aa5f.tar.zst nixpkgs-37c26a396b2b28cd764389ccc4d3b4c5cb83aa5f.zip |
Merge master into staging-next
Diffstat (limited to 'pkgs/applications/networking/p2p')
-rw-r--r-- | pkgs/applications/networking/p2p/xd/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/networking/p2p/xd/default.nix b/pkgs/applications/networking/p2p/xd/default.nix new file mode 100644 index 00000000000..54581a6070b --- /dev/null +++ b/pkgs/applications/networking/p2p/xd/default.nix @@ -0,0 +1,29 @@ +{ pkgs, buildGoModule, fetchFromGitHub, lib, perl }: + +buildGoModule rec { + pname = "XD"; + version = "0.4.0"; + + src = fetchFromGitHub { + owner = "majestrate"; + repo = "XD"; + rev = "v${version}"; + sha256 = "sha256-fXENoqhR04TYS/kAJUqsqa0+j+KyzdsMlXIZ2GMPMhc="; + }; + + vendorSha256 = "1wg3cym2rwrhjsqlgd38l8mdq5alccz808465117n3vyga9m35lq"; + + checkInputs = [ perl ]; + + postInstall = '' + ln -s $out/bin/XD $out/bin/XD-CLI + ''; + + meta = with lib; { + description = "i2p bittorrent client"; + homepage = "https://xd-torrent.github.io"; + maintainers = with maintainers; [ nixbitcoin ]; + license = licenses.mit; + platforms = platforms.linux; + }; +} |