mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
28ac782583
There are many more packages to fix, this is just a start. Rules: * Don't repeat the package name (not always that easy...) * Start with capital letter * Don't end with full stop * Don't start with "The ..." or "A ..." I've also added descriptions to some packages and rewritten others.
25 lines
645 B
Nix
25 lines
645 B
Nix
{ stdenv,fetchurl,python, wxPython, makeWrapper }:
|
|
stdenv.mkDerivation {
|
|
name = "bit-tornado-0.3.18";
|
|
|
|
src = fetchurl {
|
|
url = http://download2.bittornado.com/download/BitTornado-0.3.18.tar.gz;
|
|
sha256 = "1q6rapidnizy8wawasirgyjl9s4lrm7mm740mc5q5sdjyl5svrnr";
|
|
};
|
|
|
|
buildInputs = [ python wxPython makeWrapper ];
|
|
|
|
buildPhase = '' '';
|
|
installPhase = ''
|
|
python setup.py install --prefix=$out ;
|
|
for i in $(cd $out/bin && ls); do
|
|
wrapProgram $out/bin/$i \
|
|
--prefix PYTHONPATH : "$(toPythonPath $out):$PYTHONPATH"
|
|
done
|
|
'';
|
|
|
|
meta = {
|
|
description = "Bittorrent client with IPv6 support";
|
|
};
|
|
}
|