forked from mirrors/nixpkgs
Merge pull request #30919 from adisbladis/pythonPackages-cleanup
WIP: Python packages cleanup
This commit is contained in:
commit
e734ecb1e8
|
@ -1,7 +1,12 @@
|
|||
{stdenv, fetchurl, python27Packages, file }:
|
||||
{ stdenv, fetchurl, python27Packages, file }:
|
||||
|
||||
let
|
||||
inherit (python27Packages) python;
|
||||
requirements = (import ./requirements.nix {
|
||||
inherit stdenv fetchurl;
|
||||
pythonPackages = python27Packages;
|
||||
});
|
||||
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "salut-a-toi";
|
||||
|
@ -13,12 +18,15 @@ in
|
|||
sha256 = "0kn9403n8fpzl0hsb9kkzicsmzq2fjl627l31yykbqzc4nsr780d";
|
||||
};
|
||||
|
||||
buildInputs = with python27Packages;
|
||||
buildInputs = with python27Packages;
|
||||
[
|
||||
python twisted urwid wxPython pygobject2
|
||||
wokkel dbus-python pyfeed wrapPython setuptools file
|
||||
dbus-python wrapPython setuptools file
|
||||
pycrypto pyxdg
|
||||
];
|
||||
] ++ (with requirements; [
|
||||
pyfeed
|
||||
wokkel
|
||||
]);
|
||||
|
||||
configurePhase = ''
|
||||
sed -i "/use_setuptools/d" setup.py
|
||||
|
@ -26,7 +34,7 @@ in
|
|||
sed -e "1aexport PATH=\"\$PATH\":\"$out/bin\":\"${python27Packages.twisted}/bin\"" -i src/sat.sh
|
||||
sed -e "1aexport PYTHONPATH=\"\$PYTHONPATHPATH\":\"$PYTHONPATH\":"$out/${python.sitePackages}"" -i src/sat.sh
|
||||
|
||||
echo 'import wokkel.muc' | python
|
||||
echo 'import wokkel.muc' | python
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
|
@ -39,7 +47,7 @@ in
|
|||
for i in "$out/bin"/*; do
|
||||
head -n 1 "$i" | grep -E '[/ ]python( |$)' && {
|
||||
wrapProgram "$i" --prefix PYTHONPATH : "$PYTHONPATH:$out/${python.sitePackages}"
|
||||
} || true
|
||||
} || true
|
||||
done
|
||||
'';
|
||||
|
||||
|
|
|
@ -0,0 +1,67 @@
|
|||
{ fetchurl
|
||||
, stdenv
|
||||
, pythonPackages
|
||||
}:
|
||||
|
||||
let
|
||||
buildPythonPackage = pythonPackages.buildPythonPackage;
|
||||
|
||||
xe = buildPythonPackage rec {
|
||||
url = "http://www.blarg.net/%7Esteveha/xe-0.7.4.tar.gz";
|
||||
name = stdenv.lib.nameFromURL url ".tar";
|
||||
src = fetchurl {
|
||||
inherit url;
|
||||
sha256 = "0v9878cl0y9cczdsr6xjy8v9l139lc23h4m5f86p4kpf2wlnpi42";
|
||||
};
|
||||
|
||||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = "http://home.blarg.net/~steveha/xe.html";
|
||||
description = "XML elements";
|
||||
};
|
||||
};
|
||||
|
||||
in {
|
||||
|
||||
pyfeed = (buildPythonPackage rec {
|
||||
url = "http://www.blarg.net/%7Esteveha/pyfeed-0.7.4.tar.gz";
|
||||
|
||||
name = stdenv.lib.nameFromURL url ".tar";
|
||||
|
||||
src = fetchurl {
|
||||
inherit url;
|
||||
sha256 = "1h4msq573m7wm46h3cqlx4rsn99f0l11rhdqgf50lv17j8a8vvy1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ xe ];
|
||||
|
||||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://home.blarg.net/~steveha/pyfeed.html";
|
||||
description = "Tools for syndication feeds";
|
||||
};
|
||||
|
||||
});
|
||||
|
||||
wokkel = buildPythonPackage (rec {
|
||||
url = "http://wokkel.ik.nu/releases/0.7.0/wokkel-0.7.0.tar.gz";
|
||||
name = stdenv.lib.nameFromURL url ".tar";
|
||||
src = fetchurl {
|
||||
inherit url;
|
||||
sha256 = "0rnshrzw8605x05mpd8ndrx3ri8h6cx713mp8sl4f04f4gcrz8ml";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [twisted dateutil];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Some (mainly XMPP-related) additions to twisted";
|
||||
homepage = "http://wokkel.ik.nu/";
|
||||
license = licenses.mit;
|
||||
};
|
||||
});
|
||||
|
||||
}
|
20
pkgs/applications/networking/pyload/beautifulsoup.nix
Normal file
20
pkgs/applications/networking/pyload/beautifulsoup.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ pythonPackages, isPy3k, pkgs }:
|
||||
|
||||
pythonPackages.buildPythonPackage rec {
|
||||
name = "beautifulsoup-3.2.1";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "http://www.crummy.com/software/BeautifulSoup/download/3.x/BeautifulSoup-3.2.1.tar.gz";
|
||||
sha256 = "1nshbcpdn0jpcj51x0spzjp519pkmqz0n0748j7dgpz70zlqbfpm";
|
||||
};
|
||||
|
||||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = http://www.crummy.com/software/BeautifulSoup/;
|
||||
license = "bsd";
|
||||
description = "Undemanding HTML/XML parser";
|
||||
};
|
||||
}
|
|
@ -1,5 +1,12 @@
|
|||
{ stdenv, fetchFromGitHub, fetchpatch, pythonPackages, gocr, unrar, rhino, spidermonkey }:
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, pythonPackages, gocr, unrar, rhino, spidermonkey
|
||||
, pkgs }:
|
||||
|
||||
let
|
||||
beautifulsoup = pythonPackages.callPackage ./beautifulsoup.nix {
|
||||
inherit pythonPackages;
|
||||
};
|
||||
|
||||
in pythonPackages.buildPythonApplication rec {
|
||||
version = "0.4.9-next";
|
||||
name = "pyLoad-" + version;
|
||||
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
{ stdenv, buildPythonPackage, fetchurl
|
||||
, xe }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
url = "http://www.blarg.net/%7Esteveha/pyfeed-0.7.4.tar.gz";
|
||||
|
||||
name = stdenv.lib.nameFromURL url ".tar";
|
||||
|
||||
src = fetchurl {
|
||||
inherit url;
|
||||
sha256 = "1h4msq573m7wm46h3cqlx4rsn99f0l11rhdqgf50lv17j8a8vvy1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ xe ];
|
||||
|
||||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://home.blarg.net/~steveha/pyfeed.html";
|
||||
description = "Tools for syndication feeds";
|
||||
};
|
||||
}
|
27
pkgs/development/python-modules/pylibacl/default.nix
Normal file
27
pkgs/development/python-modules/pylibacl/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pkgs
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pylibacl";
|
||||
version = "0.5.3";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0c3xw1s5bh6jnsc0wwyxnn6kn6x6rpbmmi05ap1f81fyqlgrzgj0";
|
||||
};
|
||||
|
||||
# ERROR: testExtended (tests.test_acls.AclExtensions)
|
||||
# IOError: [Errno 0] Error
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = with pkgs; [ acl ];
|
||||
|
||||
meta = {
|
||||
description = "A Python extension module for POSIX ACLs, it can be used to query, list, add, and remove ACLs from files and directories under operating systems that support them";
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
};
|
||||
}
|
27
pkgs/development/python-modules/python-fuse/default.nix
Normal file
27
pkgs/development/python-modules/python-fuse/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib
|
||||
, pkgconfig
|
||||
, fetchurl
|
||||
, fuse
|
||||
, buildPythonPackage
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
baseName = "fuse";
|
||||
version = "0.2.1";
|
||||
name = "${baseName}-${version}";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/fuse/fuse-python-${version}.tar.gz";
|
||||
sha256 = "06rmp1ap6flh64m81j0n3a357ij2vj9zwcvvw0p31y6hz1id9shi";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ fuse ];
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for FUSE";
|
||||
license = lib.licenses.lgpl21;
|
||||
};
|
||||
}
|
26
pkgs/development/python-modules/pyxattr/default.nix
Normal file
26
pkgs/development/python-modules/pyxattr/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ lib
|
||||
, pkgs
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyxattr";
|
||||
version = "0.6.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1a3fqjlgbzq5hmc3yrnxxxl8nyn3rz2kfn17svbsahaq4gj0xl09";
|
||||
};
|
||||
|
||||
# IOError: [Errno 95] Operation not supported (expected)
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = with pkgs; [ attr ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Python extension module which gives access to the extended attributes for filesystem objects available in some operating systems";
|
||||
license = licenses.lgpl21Plus;
|
||||
};
|
||||
}
|
|
@ -7,8 +7,8 @@
|
|||
}:
|
||||
|
||||
let
|
||||
version = "2.0.46";
|
||||
inherit (python2Packages) python wrapPython sqlalchemy pyaudio beautifulsoup httplib2 matplotlib pyqt4;
|
||||
version = "2.0.47";
|
||||
inherit (python2Packages) python wrapPython sqlalchemy pyaudio beautifulsoup4 httplib2 matplotlib pyqt4;
|
||||
qt4 = pyqt4.qt;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "01h51rbnj0r6lmjnn2vzxzaf7mxkc0azmg1v4mvf4pkpsp50a7hr";
|
||||
};
|
||||
|
||||
pythonPath = [ pyqt4 sqlalchemy pyaudio beautifulsoup httplib2 ]
|
||||
pythonPath = [ pyqt4 sqlalchemy pyaudio beautifulsoup4 httplib2 ]
|
||||
++ lib.optional plotsSupport matplotlib;
|
||||
|
||||
buildInputs = [ python wrapPython lame mplayer libpulseaudio ];
|
||||
|
|
|
@ -1257,25 +1257,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
beautifulsoup = buildPythonPackage (rec {
|
||||
name = "beautifulsoup-3.2.1";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "http://www.crummy.com/software/BeautifulSoup/download/3.x/BeautifulSoup-3.2.1.tar.gz";
|
||||
sha256 = "1nshbcpdn0jpcj51x0spzjp519pkmqz0n0748j7dgpz70zlqbfpm";
|
||||
};
|
||||
|
||||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = http://www.crummy.com/software/BeautifulSoup/;
|
||||
license = "bsd";
|
||||
description = "Undemanding HTML/XML parser";
|
||||
};
|
||||
});
|
||||
|
||||
beautifulsoup4 = callPackage ../development/python-modules/beautifulsoup4 { };
|
||||
|
||||
beaker = buildPythonPackage rec {
|
||||
|
@ -2756,24 +2737,6 @@ in {
|
|||
|
||||
cligj = callPackage ../development/python-modules/cligj { };
|
||||
|
||||
clientform = buildPythonPackage (rec {
|
||||
name = "clientform-0.2.10";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/C/ClientForm/ClientForm-0.2.10.tar.gz";
|
||||
sha256 = "0dydh3i1sx7rrj6d0gj375wkjpiivm7jjlsimw6hmwv4ck7yf1wm";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://wwwsearch.sourceforge.net/ClientForm/;
|
||||
|
||||
license = "bsd";
|
||||
|
||||
description = "Python module for handling HTML forms on the client side";
|
||||
};
|
||||
});
|
||||
|
||||
/* There is a project called "closure-linter" on PyPI that is the
|
||||
same as this, but it does not appear to be owned by Google.
|
||||
So we're pulling from Google's GitHub repo instead. */
|
||||
|
@ -3022,30 +2985,6 @@ in {
|
|||
});
|
||||
|
||||
|
||||
configshell_fb = buildPythonPackage rec {
|
||||
version = "1.1.fb10";
|
||||
name = "configshell-fb-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/agrover/configshell-fb/archive/v${version}.tar.gz";
|
||||
sha256 = "1dd87xvm98nk3jzybb041gjdahi2z9b53pwqhyxcfj4a91y82ndy";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
pyparsing
|
||||
urwid
|
||||
];
|
||||
|
||||
# Fails on python 3 due to a None value where a string is expected
|
||||
doCheck = !isPy3k;
|
||||
|
||||
meta = {
|
||||
description = "A Python library for building configuration shells";
|
||||
homepage = "https://github.com/agrover/configshell-fb";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
};
|
||||
|
||||
confluent-kafka = callPackage ../development/python-modules/confluent-kafka {};
|
||||
|
||||
construct = callPackage ../development/python-modules/construct {};
|
||||
|
@ -4658,30 +4597,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
deform_bootstrap = buildPythonPackage rec {
|
||||
name = "deform_bootstrap-0.2.9";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/d/deform_bootstrap/${name}.tar.gz";
|
||||
sha256 = "1hgq3vqsfqdmlyahnlc40w13viawhpzqf4jzigsggdb41x545fda";
|
||||
};
|
||||
|
||||
buildInputs = [ self.mock ];
|
||||
propagatedBuildInputs = with self; [ deform pyramid ];
|
||||
|
||||
# demo is removed as it depends on deformdemo
|
||||
patchPhase = ''
|
||||
rm -rf deform_bootstrap/demo
|
||||
'';
|
||||
|
||||
meta = {
|
||||
maintainers = with maintainers; [ domenkozar ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
|
||||
demjson = callPackage ../development/python-modules/demjson { };
|
||||
|
||||
derpconf = self.buildPythonPackage rec {
|
||||
name = "derpconf-0.4.9";
|
||||
|
||||
|
@ -5680,27 +5595,6 @@ in {
|
|||
|
||||
google-compute-engine = callPackage ../tools/virtualization/google-compute-engine { };
|
||||
|
||||
googlecl = buildPythonPackage rec {
|
||||
version = "0.9.14";
|
||||
name = "googlecl-${version}";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://googlecl.googlecode.com/files/${name}.tar.gz";
|
||||
sha256 = "0nnf7xkr780wivr5xnchfcrahlzy9bi2dxcs1w1bh1014jql0iha";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Brings Google services to the command line";
|
||||
homepage = https://code.google.com/p/googlecl/;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ lovek323 ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ gdata ];
|
||||
};
|
||||
|
||||
gplaycli = buildPythonPackage rec {
|
||||
version = "0.1.2";
|
||||
name = "gplaycli-${version}";
|
||||
|
@ -6188,35 +6082,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
ledger-autosync = buildPythonPackage rec {
|
||||
name = "ledger-autosync-${version}";
|
||||
version = "0.2.3";
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/l/ledger-autosync/ledger-autosync-${version}.tar.gz";
|
||||
sha256 = "f19fa66e656309825887171d84a462e64676b1cc36b62e4dd8679ff63926a469";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ ofxclient ];
|
||||
|
||||
buildInputs = with self; [
|
||||
mock
|
||||
nose
|
||||
# Used at runtime to translate ofx entries to the ledger
|
||||
# format. In fact, user could use either ledger or hledger.
|
||||
pkgs.which
|
||||
pkgs.ledger ];
|
||||
|
||||
# Tests are disable since they require hledger and python-ledger
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = https://gitlab.com/egh/ledger-autosync;
|
||||
description = "ledger-autosync is a program to pull down transactions from your bank and create ledger transactions for them";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ lewo ];
|
||||
};
|
||||
};
|
||||
|
||||
libsexy = callPackage ../development/python-modules/libsexy {
|
||||
libsexy = pkgs.libsexy;
|
||||
};
|
||||
|
@ -7199,19 +7064,6 @@ in {
|
|||
};
|
||||
|
||||
|
||||
pyramid_debugtoolbar = buildPythonPackage rec {
|
||||
name = "pyramid_debugtoolbar-1.0.9";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/pyramid_debugtoolbar/${name}.tar.gz";
|
||||
sha256 = "1vnzg1qnnyisv7znxg7pasayfyr3nz7rrs5nqr4fmdgwj9q2pyv0";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ ];
|
||||
propagatedBuildInputs = with self; [ pyramid pyramid_mako ];
|
||||
};
|
||||
|
||||
|
||||
pyramid_mako = buildPythonPackage rec {
|
||||
name = "pyramid_mako-0.3.1";
|
||||
|
||||
|
@ -7730,30 +7582,6 @@ in {
|
|||
};
|
||||
|
||||
|
||||
rtmidi = buildPythonPackage rec {
|
||||
version = "0.3a";
|
||||
name = "rtmidi-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "http://chrisarndt.de/projects/python-rtmidi/download/python-${name}.tar.bz2";
|
||||
sha256 = "0d2if633m3kbiricd5hgn1csccd8xab6lnab1bq9prdr9ks9i8h6";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
sed -i "/use_setuptools/d" setup.py
|
||||
'';
|
||||
|
||||
buildInputs = with self; [ pkgs.alsaLib pkgs.libjack2 ];
|
||||
|
||||
meta = {
|
||||
description = "A Python wrapper for the RtMidi C++ library written with Cython";
|
||||
homepage = http://trac.chrisarndt.de/code/wiki/python-rtmidi;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
setuptools-git = buildPythonPackage rec {
|
||||
name = "setuptools-git-${version}";
|
||||
version = "1.1";
|
||||
|
@ -8412,22 +8240,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
doxypy = buildPythonPackage rec {
|
||||
name = "doxypy-0.4.2";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "http://code.foosel.org/files/${name}.tar.gz";
|
||||
sha256 = "1afmb30zmy7942b53qa5vd3js883wwqqls35n8xfb3rnj0qnll8g";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://code.foosel.org/doxypy;
|
||||
description = "An input filter for Doxygen";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
};
|
||||
|
||||
|
||||
dtopt = buildPythonPackage rec {
|
||||
name = "dtopt-0.1";
|
||||
|
@ -8969,27 +8781,6 @@ in {
|
|||
|
||||
pytorch = callPackage ../development/python-modules/pytorch { };
|
||||
|
||||
python_tvrage = buildPythonPackage (rec {
|
||||
version = "0.4.1";
|
||||
name = "tvrage-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/python-tvrage/python-tvrage-${version}.tar.gz";
|
||||
sha256 = "f8a530376c5cf1bc573d1945a8504c3394b228c731a3eff5100c705997a72063";
|
||||
};
|
||||
|
||||
# has mostly networking dependent tests
|
||||
doCheck = false;
|
||||
propagatedBuildInputs = with self; [ beautifulsoup ];
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/ckreutzer/python-tvrage;
|
||||
description = "Client interface for tvrage.com's XML-based api feeds";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ domenkozar ];
|
||||
};
|
||||
});
|
||||
|
||||
python2-pythondialog = buildPythonPackage rec {
|
||||
name = "python2-pythondialog-${version}";
|
||||
version = "3.3.0";
|
||||
|
@ -9200,25 +8991,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
fuse = buildPythonPackage (rec {
|
||||
baseName = "fuse";
|
||||
version = "0.2.1";
|
||||
name = "${baseName}-${version}";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://sourceforge/fuse/fuse-python-${version}.tar.gz";
|
||||
sha256 = "06rmp1ap6flh64m81j0n3a357ij2vj9zwcvvw0p31y6hz1id9shi";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgs.pkgconfig ];
|
||||
buildInputs = with self; [ pkgs.fuse ];
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for FUSE";
|
||||
license = licenses.lgpl21;
|
||||
};
|
||||
});
|
||||
fuse = callPackage ../development/python-modules/python-fuse { };
|
||||
|
||||
fusepy = buildPythonPackage rec {
|
||||
name = "fusepy-2.0.4";
|
||||
|
@ -11208,7 +10981,7 @@ in {
|
|||
sha256 = "0rki9nl4y42q694parafcsdcdqvkdjckrbg6n0691302lfsrkyfl";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ clientform html5lib ];
|
||||
propagatedBuildInputs = with self; [ html5lib ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
@ -12590,23 +12363,6 @@ in {
|
|||
|
||||
nose-exclude = callPackage ../development/python-modules/nose-exclude { };
|
||||
|
||||
nose-selecttests = buildPythonPackage rec {
|
||||
version = "0.4";
|
||||
name = "nose-selecttests-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/n/nose-selecttests/${name}.zip";
|
||||
sha256 = "0lgrfgp3sq8xi8d9grrg0z8jsyk0wl8a3rxw31hb7vdncin5b7n5";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ nose ];
|
||||
|
||||
meta = {
|
||||
description = "Simple nose plugin that enables developers to run subset of collected tests to spare some waiting time for better things";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
nose2 = if isPy26 then null else (buildPythonPackage rec {
|
||||
name = "nose2-0.5.0";
|
||||
src = pkgs.fetchurl {
|
||||
|
@ -16202,8 +15958,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
pyfeed = callPackage ../development/python-modules/pyfeed { };
|
||||
|
||||
pyfftw = callPackage ../development/python-modules/pyfftw { };
|
||||
|
||||
pyfiglet = callPackage ../development/python-modules/pyfiglet { };
|
||||
|
@ -16934,25 +16688,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
pylibacl = buildPythonPackage (rec {
|
||||
name = "pylibacl-0.5.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/downloads/iustin/pylibacl/${name}.tar.gz";
|
||||
sha256 = "1idks7j9bn62xzsaxkvhl7bdq6ws8kv8aa0wahfh7724qlbbcf1k";
|
||||
};
|
||||
|
||||
# ERROR: testExtended (tests.test_acls.AclExtensions)
|
||||
# IOError: [Errno 0] Error
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = with self; [ pkgs.acl ];
|
||||
|
||||
meta = {
|
||||
description = "A Python extension module for POSIX ACLs, it can be used to query, list, add, and remove ACLs from files and directories under operating systems that support them";
|
||||
license = licenses.lgpl21Plus;
|
||||
};
|
||||
});
|
||||
pylibacl = callPackage ../development/python-modules/pylibacl { };
|
||||
|
||||
pyliblo = buildPythonPackage rec {
|
||||
name = "pyliblo-${version}";
|
||||
|
@ -16974,29 +16710,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
pymacs = buildPythonPackage rec {
|
||||
version = "0.25";
|
||||
name = "pymacs-${version}";
|
||||
disabled = isPy3k || isPyPy;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/pinard/Pymacs/tarball/v${version}";
|
||||
name = "${name}.tar.gz";
|
||||
sha256 = "1hmy76c5igm95rqbld7gvk0az24smvc8hplfwx2f5rhn6frj3p2i";
|
||||
};
|
||||
|
||||
configurePhase = "make";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Emacs Lisp to Python interface";
|
||||
homepage = http://pymacs.progiciels-bpi.ca;
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
};
|
||||
};
|
||||
|
||||
pypcap = callPackage ../development/python-modules/pypcap {};
|
||||
|
||||
pyplatec = buildPythonPackage rec {
|
||||
|
@ -17542,25 +17255,7 @@ in {
|
|||
|
||||
pywinrm = callPackage ../development/python-modules/pywinrm { };
|
||||
|
||||
pyxattr = buildPythonPackage (rec {
|
||||
name = "pyxattr-0.5.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/downloads/iustin/pyxattr/${name}.tar.gz";
|
||||
sha256 = "0jmkffik6hdzs7ng8c65bggss2ai40nm59jykswdf5lpd36cxddq";
|
||||
};
|
||||
|
||||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = with self; [ pkgs.attr ];
|
||||
|
||||
meta = {
|
||||
description = "A Python extension module which gives access to the extended attributes for filesystem objects available in some operating systems";
|
||||
license = licenses.lgpl21Plus;
|
||||
};
|
||||
});
|
||||
|
||||
pyxattr = callPackage ../development/python-modules/pyxattr { };
|
||||
|
||||
pyaml = buildPythonPackage (rec {
|
||||
name = "pyaml-15.02.1";
|
||||
|
@ -17880,27 +17575,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
requests_oauth2 = buildPythonPackage rec {
|
||||
name = "requests-oauth2-0.1.1";
|
||||
# python3 does not support relative imports
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = https://github.com/maraujop/requests-oauth2/archive/0.1.1.tar.gz;
|
||||
sha256 = "1aij66qg9j5j4vzyh64nbg72y7pcafgjddxsi865racsay43xfqg";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ requests ];
|
||||
# no tests in tarball
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Python's Requests OAuth2 (Open Authentication) plugin";
|
||||
homepage = https://github.com/maraujop/requests-oauth2;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
restview = callPackage ../development/python-modules/restview { };
|
||||
|
||||
readme = buildPythonPackage rec {
|
||||
|
@ -18196,44 +17870,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
ropemacs = buildPythonPackage rec {
|
||||
version = "0.7";
|
||||
name = "ropemacs-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/r/ropemacs/${name}.tar.gz";
|
||||
sha256 = "1x5qf1drcdz9jfiiakc60kzqkb3ahsg9j902c5byf3gjfacdrmqj";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ ropemode ];
|
||||
|
||||
meta = {
|
||||
description = "A plugin for performing python refactorings in emacs";
|
||||
homepage = http://rope.sf.net/ropemacs.html;
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
};
|
||||
|
||||
ropemode = buildPythonPackage rec {
|
||||
version = "0.2";
|
||||
name = "ropemode-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/r/ropemode/${name}.tar.gz";
|
||||
sha256 = "0jw6h1wvk6wk0wknqdf7s9pw76m8472jv546lqdd88jbl2scgcjl";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ rope ];
|
||||
|
||||
meta = {
|
||||
description = "A plugin for performing python refactorings in emacs";
|
||||
homepage = http://rope.sf.net;
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
};
|
||||
|
||||
ropper = callPackage ../development/python-modules/ropper { };
|
||||
|
||||
routes = buildPythonPackage rec {
|
||||
|
@ -18430,22 +18066,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
rtslib_fb = buildPythonPackage rec {
|
||||
version = "2.1.fb43";
|
||||
name = "rtslib-fb-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/agrover/rtslib-fb/archive/v${version}.tar.gz";
|
||||
sha256 = "1b59vyy12g6rix9l2fxx0hjiq33shkb79v57gwffs57vh74wc53v";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A Python object API for managing the Linux LIO kernel target";
|
||||
homepage = "https://github.com/agrover/rtslib-fb";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
};
|
||||
|
||||
s3transfer = buildPythonPackage rec {
|
||||
version = "0.1.10";
|
||||
name = "s3transfer-${version}";
|
||||
|
@ -19508,39 +19128,6 @@ in {
|
|||
|
||||
six = callPackage ../development/python-modules/six { };
|
||||
|
||||
|
||||
skype4py = buildPythonPackage (rec {
|
||||
name = "Skype4Py-1.0.32.0";
|
||||
disabled = isPy3k || isPyPy;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = mirror://sourceforge/skype4py/Skype4Py-1.0.32.0.tar.gz;
|
||||
sha256 = "0cmkrv450wa8v50bng5dflpwkl5c1p9pzysjkb2956w5kvwh6f5b";
|
||||
};
|
||||
|
||||
unpackPhase = ''
|
||||
tar xf $src
|
||||
find . -type d -exec chmod +rx {} \;
|
||||
sourceRoot=`pwd`/`ls -d S*`
|
||||
'';
|
||||
|
||||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = with self; [ pkgs.xorg.libX11 dbus-python pygobject2 ];
|
||||
|
||||
meta = {
|
||||
description = "High-level, platform independent Skype API wrapper for Python";
|
||||
|
||||
# The advertisement says https://developer.skype.com/wiki/Skype4Py
|
||||
# but that url does not work. This following web page points to the
|
||||
# download link and has some information about the package.
|
||||
homepage = http://pypi.python.org/pypi/Skype4Py/1.0.32.0;
|
||||
broken = true;
|
||||
license = "BSD";
|
||||
};
|
||||
});
|
||||
|
||||
smartdc = buildPythonPackage rec {
|
||||
name = "smartdc-0.1.12";
|
||||
|
||||
|
@ -20193,57 +19780,6 @@ in {
|
|||
|
||||
tabulate = callPackage ../development/python-modules/tabulate { };
|
||||
|
||||
targetcli_fb = buildPythonPackage rec {
|
||||
version = "2.1.fb33";
|
||||
name = "targetcli-fb-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/agrover/targetcli-fb/archive/v${version}.tar.gz";
|
||||
sha256 = "1zcm0agdpf866020b43fl8zyyyzz6r74mn1sz4xpaa0pinpwjk42";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
configshell_fb
|
||||
rtslib_fb
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "A command shell for managing the Linux LIO kernel target";
|
||||
homepage = "https://github.com/agrover/targetcli-fb";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
};
|
||||
|
||||
taskcoach = buildPythonPackage rec {
|
||||
name = "TaskCoach-1.3.22";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://sourceforge/taskcoach/${name}.tar.gz";
|
||||
sha256 = "1ddx56bqmh347synhgjq625ijv5hqflr0apxg0nl4jqdsqk1zmxh";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ wxPython ];
|
||||
|
||||
# I don't know why I need to add these libraries. Shouldn't they
|
||||
# be part of wxPython?
|
||||
postInstall = ''
|
||||
libspaths=${with pkgs.xorg; pkgs.lib.makeLibraryPath [ libSM libXScrnSaver ]}
|
||||
wrapProgram $out/bin/taskcoach.py \
|
||||
--prefix LD_LIBRARY_PATH : $libspaths
|
||||
'';
|
||||
|
||||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = http://taskcoach.org/;
|
||||
description = "Todo manager to keep track of personal tasks and todo lists";
|
||||
license = licenses.gpl3Plus;
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
};
|
||||
|
||||
taskw = buildPythonPackage rec {
|
||||
version = "1.0.3";
|
||||
name = "taskw-${version}";
|
||||
|
@ -20605,29 +20141,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
trac = buildPythonPackage {
|
||||
name = "trac-1.0.1";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = http://ftp.edgewall.com/pub/trac/Trac-1.0.1.tar.gz;
|
||||
sha256 = "1nqa95fcnkpyq4jk6az7l7sqgm3b3pjq3bx1n7y4v3bad5jr1m4x";
|
||||
};
|
||||
|
||||
# couple of failing tests
|
||||
doCheck = false;
|
||||
|
||||
PYTHON_EGG_CACHE = "`pwd`/.egg-cache";
|
||||
|
||||
propagatedBuildInputs = with self; [ genshi ];
|
||||
|
||||
meta = {
|
||||
description = "Enhanced wiki and issue tracking system for software development projects";
|
||||
|
||||
license = "BSD";
|
||||
};
|
||||
};
|
||||
|
||||
traits = buildPythonPackage rec {
|
||||
name = "traits-${version}";
|
||||
version = "4.5.0";
|
||||
|
@ -21529,26 +21042,6 @@ EOF
|
|||
|
||||
widgetsnbextension = callPackage ../development/python-modules/widgetsnbextension { };
|
||||
|
||||
|
||||
wokkel = buildPythonPackage (rec {
|
||||
url = "http://wokkel.ik.nu/releases/0.7.0/wokkel-0.7.0.tar.gz";
|
||||
name = nameFromURL url ".tar";
|
||||
src = pkgs.fetchurl {
|
||||
inherit url;
|
||||
sha256 = "0rnshrzw8605x05mpd8ndrx3ri8h6cx713mp8sl4f04f4gcrz8ml";
|
||||
};
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
propagatedBuildInputs = with self; [twisted dateutil];
|
||||
|
||||
meta = {
|
||||
description = "Some (mainly XMPP-related) additions to twisted";
|
||||
homepage = "http://wokkel.ik.nu/";
|
||||
license = licenses.mit;
|
||||
};
|
||||
});
|
||||
|
||||
magic-wormhole = callPackage ../development/python-modules/magic-wormhole { };
|
||||
|
||||
wsgiproxy2 = buildPythonPackage rec {
|
||||
|
@ -21589,23 +21082,6 @@ EOF
|
|||
propagatedBuildInputs = with self; [ eventlib application ];
|
||||
};
|
||||
|
||||
xe = buildPythonPackage rec {
|
||||
url = "http://www.blarg.net/%7Esteveha/xe-0.7.4.tar.gz";
|
||||
name = stdenv.lib.nameFromURL url ".tar";
|
||||
src = pkgs.fetchurl {
|
||||
inherit url;
|
||||
sha256 = "0v9878cl0y9cczdsr6xjy8v9l139lc23h4m5f86p4kpf2wlnpi42";
|
||||
};
|
||||
|
||||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = "http://home.blarg.net/~steveha/xe.html";
|
||||
description = "XML elements";
|
||||
};
|
||||
};
|
||||
|
||||
xlib = buildPythonPackage (rec {
|
||||
name = "xlib-${version}";
|
||||
version = "0.17";
|
||||
|
@ -23259,29 +22735,6 @@ EOF
|
|||
};
|
||||
};
|
||||
|
||||
|
||||
redNotebook = buildPythonPackage rec {
|
||||
name = "rednotebook-1.8.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://sourceforge/rednotebook/${name}.tar.gz";
|
||||
sha256 = "00b7s4xpqpxsbzjvjx9qsx5d84m9pvn383c5di1nsfh35pig0rzn";
|
||||
};
|
||||
|
||||
# no tests available
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = with self; [ pygtk pywebkitgtk pyyaml chardet ];
|
||||
|
||||
meta = {
|
||||
homepage = http://rednotebook.sourceforge.net/index.html;
|
||||
description = "A modern journal that includes a calendar navigation, customizable templates, export functionality and word clouds";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ tstrobel ];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
uncertainties = callPackage ../development/python-modules/uncertainties { };
|
||||
|
||||
funcy = buildPythonPackage rec {
|
||||
|
|
Loading…
Reference in a new issue