bittornado: init at unstable-2018-02-09 (#43770)

This commit is contained in:
Robert Schütz 2018-07-31 14:23:15 +02:00 committed by GitHub
parent a81f73da7d
commit 2ea26fb794
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View 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 ];
};
}

View File

@ -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 { };