mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
xd: init at 0.4.0
This commit is contained in:
parent
542e957965
commit
315d082952
29
pkgs/applications/networking/p2p/xd/default.nix
Normal file
29
pkgs/applications/networking/p2p/xd/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -27180,6 +27180,8 @@ in
|
|||
|
||||
picom = callPackage ../applications/window-managers/picom {};
|
||||
|
||||
xd = callPackage ../applications/networking/p2p/xd {};
|
||||
|
||||
xdaliclock = callPackage ../tools/misc/xdaliclock {};
|
||||
|
||||
xdg-dbus-proxy = callPackage ../development/libraries/xdg-dbus-proxy { };
|
||||
|
|
Loading…
Reference in a new issue