bittornado: init at unstable-2018-02-09 (#43770)
This commit is contained in:
parent
a81f73da7d
commit
2ea26fb794
26
pkgs/tools/networking/p2p/bittornado/default.nix
Normal file
26
pkgs/tools/networking/p2p/bittornado/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib, python3, fetchFromGitHub }:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "BitTornado";
|
||||
version = "unstable-2018-02-09";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "effigies";
|
||||
repo = "BitTornado";
|
||||
rev = "a3e6d8bcdf9d99de064dc58b4a3e909e0349e589";
|
||||
sha256 = "099bci3as592psf8ymmz225qyz2lbjhya7g50cb7hk64k92mqk9k";
|
||||
};
|
||||
|
||||
postFixup = ''
|
||||
for i in $(ls $out/bin); do
|
||||
mv $out/bin/$i $out/bin/''${i%.py}
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "John Hoffman's fork of the original bittorrent";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -866,6 +866,8 @@ with pkgs;
|
||||
|
||||
bitbucket-cli = python2Packages.bitbucket-cli;
|
||||
|
||||
bittornado = callPackage ../tools/networking/p2p/bittornado { };
|
||||
|
||||
blink = callPackage ../applications/networking/instant-messengers/blink { };
|
||||
|
||||
blockhash = callPackage ../tools/graphics/blockhash { };
|
||||
|
Loading…
Reference in New Issue
Block a user