Merge staging-next into master
This commit is contained in:
@@ -25,11 +25,11 @@ let
|
||||
|
||||
in buildPythonPackage rec {
|
||||
pname = "Cython";
|
||||
version = "0.28.3";
|
||||
version = "0.28.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1aae6d6e9858888144cea147eb5e677830f45faaff3d305d77378c3cba55f526";
|
||||
sha256 = "b64575241f64f6ec005a4d4137339fb0ba5e156e826db2fdb5f458060d9979e0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -50,15 +50,6 @@ in buildPythonPackage rec {
|
||||
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
patches = [
|
||||
# The following is in GitHub in 0.28.3 but not in the `sdist`.
|
||||
# https://github.com/cython/cython/issues/2319
|
||||
(fetchpatch {
|
||||
url = https://github.com/cython/cython/commit/c485b1b77264c3c75d090a3c526de24966830d42.patch;
|
||||
sha256 = "1p6jj9rb097kqvhs5j5127sj5zy18l7x9v0p478cjyzh41khh9r0";
|
||||
})
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "An optimising static compiler for both the Python programming language and the extended Cython programming language";
|
||||
homepage = http://cython.org;
|
||||
|
||||
36
pkgs/development/python-modules/Fabric/default.nix
Normal file
36
pkgs/development/python-modules/Fabric/default.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{ pkgs
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, invoke
|
||||
, paramiko
|
||||
, cryptography
|
||||
, pytest
|
||||
, mock
|
||||
, pytest-relaxed
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fabric";
|
||||
version = "2.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "93684ceaac92e0b78faae551297e29c48370cede12ff0f853cdebf67d4b87068";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ invoke paramiko cryptography ];
|
||||
checkInputs = [ pytest mock pytest-relaxed ];
|
||||
|
||||
# ignore subprocess main errors (1) due to hardcoded /bin/bash
|
||||
checkPhase = ''
|
||||
rm tests/main.py
|
||||
pytest tests
|
||||
'';
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
description = "Pythonic remote execution";
|
||||
homepage = https://www.fabfile.org/;
|
||||
license = licenses.bsd2;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
||||
@@ -45,13 +45,13 @@ let
|
||||
|
||||
in buildPythonPackage rec {
|
||||
pname = "Theano";
|
||||
version = "1.0.2";
|
||||
version = "1.0.3";
|
||||
|
||||
disabled = isPyPy || pythonOlder "2.6" || (isPy3k && pythonOlder "3.3");
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "6768e003d328a17011e6fca9126fbb8a6ffd3bb13cb21c450f3e724cca29abde";
|
||||
sha256 = "637f3b34d40ef5e0d54dd4c40618475aaa085c26d2491e925c98e2ad4bc2115a";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "alabaster";
|
||||
version = "0.7.11";
|
||||
version = "0.7.12";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b63b1f4dc77c074d386752ec4a8a7517600f6c0db8cd42980cae17ab7b3275d7";
|
||||
sha256 = "a661d72d58e6ea8a57f7a86e37d86716863ee5e92788398526d58b26a4e4dc02";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pygments ];
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "autobahn";
|
||||
version = "18.8.1";
|
||||
version = "18.8.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b69858e0be4bff8437b0bd82a0db1cbef7405e16bd9354ba587c043d6d5e1ad9";
|
||||
sha256 = "448df2e241011ea2948799918930042d81e63d26b01912c472f5a9a37f42f319";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six txaio twisted zope_interface cffi ] ++
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
, nose, requests }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.1.2";
|
||||
version = "2.1.3";
|
||||
pname = "beancount";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d0d5f7088cb6b699cc4d030dad42d20b8228232cdb445bb1330d4ef5e3581f52";
|
||||
sha256 = "4b7b0d3633c82ca88d3cb3d31ad2fd2e45a42401cfa94eaa1cb938ffece34f22";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
||||
42
pkgs/development/python-modules/bedup/default.nix
Normal file
42
pkgs/development/python-modules/bedup/default.nix
Normal file
@@ -0,0 +1,42 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, btrfs-progs
|
||||
, contextlib2
|
||||
, pyxdg
|
||||
, pycparser
|
||||
, alembic
|
||||
, cffi
|
||||
, pythonOlder
|
||||
, isPyPy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.10.1";
|
||||
pname = "bedup";
|
||||
disabled = pythonOlder "3.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "g2p";
|
||||
repo = "bedup";
|
||||
rev = "v${version}";
|
||||
sha256 = "0sp8pmjkxcqq0alianfp41mwq7qj10rk1qy31pjjp9kiph1rn0x6";
|
||||
};
|
||||
|
||||
buildInputs = [ btrfs-progs ];
|
||||
propagatedBuildInputs = [ contextlib2 pyxdg pycparser alembic ]
|
||||
++ stdenv.lib.optionals (!isPyPy) [ cffi ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Deduplication for Btrfs";
|
||||
longDescription = ''
|
||||
Deduplication for Btrfs. bedup looks for new and changed files,
|
||||
making sure that multiple copies of identical files share space
|
||||
on disk. It integrates deeply with btrfs so that scans are
|
||||
incremental and low-impact.
|
||||
'';
|
||||
homepage = https://github.com/g2p/bedup;
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ bluescreen303 ];
|
||||
};
|
||||
}
|
||||
37
pkgs/development/python-modules/binwalk/default.nix
Normal file
37
pkgs/development/python-modules/binwalk/default.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, zlib
|
||||
, xz
|
||||
, ncompress
|
||||
, gzip
|
||||
, bzip2
|
||||
, gnutar
|
||||
, p7zip
|
||||
, cabextract
|
||||
, lzma
|
||||
, pycrypto
|
||||
, pyqtgraph ? null }:
|
||||
|
||||
let visualizationSupport = (pyqtgraph != null);
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
name = "binwalk-${version}";
|
||||
version = "2.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "devttys0";
|
||||
repo = "binwalk";
|
||||
rev = "291a03595d17f848c73b74cb6ca508da782cd8f7";
|
||||
sha256 = "0grid93yz6i6jb2zggrqncp5awdf7qi88j5y2k7dq0k9r6b8zydw";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ zlib xz ncompress gzip bzip2 gnutar p7zip cabextract lzma pycrypto ]
|
||||
++ stdenv.lib.optional visualizationSupport pyqtgraph;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://binwalk.org";
|
||||
description = "A tool for searching a given binary image for embedded files";
|
||||
maintainers = [ maintainers.koral ];
|
||||
};
|
||||
}
|
||||
@@ -3,26 +3,26 @@
|
||||
let
|
||||
wheel_source = fetchPypi {
|
||||
pname = "wheel";
|
||||
version = "0.31.1";
|
||||
version = "0.32.1";
|
||||
format = "wheel";
|
||||
sha256 = "80044e51ec5bbf6c894ba0bc48d26a8c20a9ba629f4ca19ea26ecfcf87685f5f";
|
||||
sha256 = "15hizylh761jcaz8zfdc3wg30jf33izaakyv1p82ppx2y5rgg8cz";
|
||||
};
|
||||
setuptools_source = fetchPypi {
|
||||
pname = "setuptools";
|
||||
version = "40.2.0";
|
||||
version = "40.4.3";
|
||||
format = "wheel";
|
||||
sha256 = "ea3796a48a207b46ea36a9d26de4d0cc87c953a683a7b314ea65d666930ea8e6";
|
||||
sha256 = "1zzryv1fqx4nk7hzv4afxpl8k7f60lc0qkhxlc8sqjs4igakfhff";
|
||||
};
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "pip";
|
||||
version = "18.0";
|
||||
version = "18.1";
|
||||
name = "${python.libPrefix}-bootstrapped-${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
format = "wheel";
|
||||
sha256 = "070e4bf493c7c2c9f6a08dd797dd3c066d64074c38e9e8a0fb4e6541f266d96c";
|
||||
sha256 = "7909d0a0932e88ea53a7014dfd14522ffef91a464daaaf5c573343852ef98550";
|
||||
};
|
||||
|
||||
unpackPhase = ''
|
||||
|
||||
37
pkgs/development/python-modules/box2d/default.nix
Normal file
37
pkgs/development/python-modules/box2d/default.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, swig2
|
||||
, pkgs-box2d
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Box2D";
|
||||
version = "2.3.2";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d1557dffdf9c1d6c796ec5df53e3d93227bb026c14b8411d22c295edaa2fb225";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i "s/'Box2D.tests' : 'tests'//" setup.py
|
||||
'';
|
||||
|
||||
buildInputs = [ swig2 pkgs-box2d ];
|
||||
|
||||
# tests not included with pypi release
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/pybox2d/pybox2d;
|
||||
description = ''
|
||||
A 2D game physics library for Python under
|
||||
the very liberal zlib license
|
||||
'';
|
||||
license = licenses.zlib;
|
||||
maintainers = with maintainers; [ sepi ];
|
||||
};
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
Common subdirectories: Box2D-2.3b0/Box2D and Box2D-2.3b0.new/Box2D
|
||||
Common subdirectories: Box2D-2.3b0/examples and Box2D-2.3b0.new/examples
|
||||
Common subdirectories: Box2D-2.3b0/library and Box2D-2.3b0.new/library
|
||||
diff -u Box2D-2.3b0/setup.py Box2D-2.3b0.new/setup.py
|
||||
--- Box2D-2.3b0/setup.py 2013-02-02 18:09:34.000000000 +0100
|
||||
+++ Box2D-2.3b0.new/setup.py 2014-10-25 13:32:07.136922343 +0200
|
||||
@@ -176,7 +176,6 @@
|
||||
package_dir = {'Box2D': library_path,
|
||||
'Box2D.b2': os.path.join(library_path, 'b2'),
|
||||
'Box2D.tests' : 'tests'},
|
||||
- test_suite = 'tests',
|
||||
options = { 'build_ext': { 'swig_opts' : swig_arguments },
|
||||
'egg_info' : { 'egg_base' : library_base },
|
||||
},
|
||||
38
pkgs/development/python-modules/bsddb3/default.nix
Normal file
38
pkgs/development/python-modules/bsddb3/default.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pkgs
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bsddb3";
|
||||
version = "6.2.6";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "42d621f4037425afcb16b67d5600c4556271a071a9a7f7f2c2b1ba65bc582d05";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgs.db ];
|
||||
|
||||
# Judging from SyntaxError in test
|
||||
doCheck = false; # test suite breaks python3 compatibility
|
||||
|
||||
# Path to database need to be set.
|
||||
# Somehow the setup.py flag is not propagated.
|
||||
#setupPyBuildFlags = [ "--berkeley-db=${pkgs.db}" ];
|
||||
# We can also use a variable
|
||||
preConfigure = ''
|
||||
export BERKELEYDB_DIR=${pkgs.db.dev};
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python bindings for Oracle Berkeley DB";
|
||||
homepage = https://www.jcea.es/programacion/pybsddb.htm;
|
||||
license = with licenses; [ agpl3 ]; # License changed from bsd3 to agpl3 since 6.x
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
|
||||
}
|
||||
26
pkgs/development/python-modules/bugz/default.nix
Normal file
26
pkgs/development/python-modules/bugz/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bugz-0.9.3";
|
||||
version = "0.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "williamh";
|
||||
repo = "pybugz";
|
||||
rev = "0.13";
|
||||
sha256 = "1nw07q7r078dp82rcrhvvnhmnaqjx6f8a6cdjgrsiy6fryrx9dwz";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.liquidx.net/pybugz/;
|
||||
description = "Command line interface for Bugzilla";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
|
||||
}
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zc.buildout";
|
||||
version = "2.12.1";
|
||||
version = "2.12.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1e180b62fd129a68cb3a9ec8eb0ef457e18921269a93e87ef2cc34519415332d";
|
||||
sha256 = "ff5d7e8a1361da8dfe1025d35ef6ce55e929dd8518d2a811a1cf2c948950a043";
|
||||
};
|
||||
|
||||
patches = [ ./nix.patch ];
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zc.buildout";
|
||||
version = "2.12.1";
|
||||
version = "2.12.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1e180b62fd129a68cb3a9ec8eb0ef457e18921269a93e87ef2cc34519415332d";
|
||||
sha256 = "ff5d7e8a1361da8dfe1025d35ef6ce55e929dd8518d2a811a1cf2c948950a043";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bumps";
|
||||
version = "0.7.10";
|
||||
version = "0.7.11";
|
||||
|
||||
propagatedBuildInputs = [six];
|
||||
|
||||
@@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "07917abf7e598f2a42456ca4f704c6da2a5489eaea0b9a7c61ed8a26506737c8";
|
||||
sha256 = "16d24a7f965592d9b02f96e68e6aa70d6fb59abe4db37bb14c4b60c509a3c2ef";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchgit
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "asynkdev";
|
||||
pname = "caldavclientlibrary-asynk";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/skarra/CalDAVClientLibrary.git";
|
||||
rev = "06699b08190d50cc2636b921a654d67db0a967d1";
|
||||
sha256 = "157q32251ac9x3gdshgrjwsy48nq74vrzviswvph56h9wa8ksnnk";
|
||||
};
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A Python library and tool for CalDAV";
|
||||
|
||||
longDescription = ''
|
||||
CalDAVCLientLibrary is a Python library and tool for CalDAV.
|
||||
|
||||
This package is the unofficial CalDAVCLientLibrary Python
|
||||
library maintained by the author of Asynk and is needed for
|
||||
that package.
|
||||
'';
|
||||
|
||||
homepage = https://github.com/skarra/CalDAVClientLibrary/tree/asynkdev/;
|
||||
maintainers = with maintainers; [ pjones ];
|
||||
broken = true; # 2018-04-11
|
||||
};
|
||||
|
||||
}
|
||||
38
pkgs/development/python-modules/capstone/default.nix
Normal file
38
pkgs/development/python-modules/capstone/default.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "capstone";
|
||||
version = "3.0.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "945d3b8c3646a1c3914824c416439e2cf2df8969dd722c8979cdcc23b40ad225";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
stripLen = 2;
|
||||
url = "https://patch-diff.githubusercontent.com/raw/aquynh/capstone/pull/783/commits/23fe9f36622573c747e2bab6119ff245437bf276.patch";
|
||||
sha256 = "0yizqrdlxqxn16873593kdx2vrr7gvvilhgcf9xy6hr0603d3m5r";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs src/make.sh
|
||||
'';
|
||||
|
||||
preCheck = ''
|
||||
mv src/libcapstone.so capstone
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://www.capstone-engine.org/";
|
||||
license = licenses.bsdOriginal;
|
||||
description = "Capstone disassembly engine";
|
||||
maintainers = with maintainers; [ bennofs ];
|
||||
};
|
||||
}
|
||||
@@ -4,13 +4,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "carbon";
|
||||
version = "1.1.3";
|
||||
version = "1.1.4";
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1s7327p30w4l9ak4gc7m5ga521233179n2lr3j0ggfbmfhd6blky";
|
||||
sha256 = "1b70e34ac0f0bd32a03ee14eaf1ed2c857e208984fc9761f59a95c21c5264513";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ twisted whisper txamqp cachetools urllib3 ];
|
||||
|
||||
55
pkgs/development/python-modules/cassandra-driver/default.nix
Normal file
55
pkgs/development/python-modules/cassandra-driver/default.nix
Normal file
@@ -0,0 +1,55 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pkgs
|
||||
, cython
|
||||
, futures
|
||||
, six
|
||||
, python
|
||||
, scales
|
||||
, eventlet
|
||||
, twisted
|
||||
, mock
|
||||
, gevent
|
||||
, nose
|
||||
, pytz
|
||||
, pyyaml
|
||||
, sure
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cassandra-driver";
|
||||
version = "3.6.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1aqmy3psn12lxgp659d0zsxkirxzy5lnbnzxf9xjq1a93s3qm704";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgs.libev cython ];
|
||||
|
||||
propagatedBuildInputs = [ six ]
|
||||
++ stdenv.lib.optionals (pythonOlder "3.4") [ futures ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i "s/<=1.0.1//" setup.py
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} setup.py gevent_nosetests
|
||||
${python.interpreter} setup.py eventlet_nosetests
|
||||
'';
|
||||
|
||||
checkInputs = [ scales eventlet twisted mock gevent nose pytz pyyaml sure ];
|
||||
|
||||
# Could not get tests running
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://datastax.github.io/python-driver/;
|
||||
description = "A Python client driver for Apache Cassandra";
|
||||
license = licenses.asl20;
|
||||
};
|
||||
|
||||
}
|
||||
24
pkgs/development/python-modules/cddb/default.nix
Normal file
24
pkgs/development/python-modules/cddb/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, pkgs
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "CDDB-1.4";
|
||||
disabled = isPy3k;
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.IOKit ];
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "http://cddb-py.sourceforge.net/${name}.tar.gz";
|
||||
sha256 = "098xhd575ibvdx7i3dny3lwi851yxhjg2hn5jbbgrwj833rg5l5w";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://cddb-py.sourceforge.net/;
|
||||
description = "CDDB and FreeDB audio CD track info access";
|
||||
license = licenses.gpl2Plus;
|
||||
};
|
||||
|
||||
}
|
||||
22
pkgs/development/python-modules/chameleon/default.nix
Normal file
22
pkgs/development/python-modules/chameleon/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Chameleon";
|
||||
version = "2.25";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0va95cml7wfjpvgj3dc9xdn8psyjh3zbk6v51b0hcqv2fzh409vb";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://chameleon.readthedocs.io/;
|
||||
description = "Fast HTML/XML Template Compiler";
|
||||
license = licenses.bsd0;
|
||||
maintainers = with maintainers; [ garbas domenkozar ];
|
||||
};
|
||||
|
||||
}
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "click-plugins";
|
||||
version = "1.0.3";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1ifphgaw5mmcdnqd0qfnmrbm62q3k6p573aff4cxgpyjxmz5xk3s";
|
||||
sha256 = "dfed74b5063546a137de99baaaf742b4de4337ad2b3e1df5ec7c8a256adc0847";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
33
pkgs/development/python-modules/closure-linter/default.nix
Normal file
33
pkgs/development/python-modules/closure-linter/default.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchgit
|
||||
, isPy3k
|
||||
, gflags
|
||||
}:
|
||||
|
||||
/* 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. */
|
||||
buildPythonPackage rec {
|
||||
pname = "closure-linter";
|
||||
version = "2.3.19";
|
||||
|
||||
/* This project has no Python 3 support, as noted by
|
||||
https://github.com/google/closure-linter/issues/81 */
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/google/closure-linter";
|
||||
rev = "5c27529075bb88bdc45e73008f496dec8438d658";
|
||||
sha256 = "076c7q7pr7akfvq5y8lxr1ab81wwps07gw00igdkcxnc5k9dzxwc";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ gflags ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Checks JavaScript files against Google's style guide.";
|
||||
homepage = "https://developers.google.com/closure/utilities/";
|
||||
license = with licenses; [ asl20 ];
|
||||
};
|
||||
|
||||
}
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cloudpickle";
|
||||
version = "0.5.5";
|
||||
version = "0.5.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "6ea4b548f61a4f616b065182716318c7dced8c053517f35ac59cec22802daf3d";
|
||||
sha256 = "0390ecb3731ac035d74c34651460f4a683e9ef7443861712b8d56c20c2f92113";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest mock ];
|
||||
|
||||
38
pkgs/development/python-modules/cntk/default.nix
Normal file
38
pkgs/development/python-modules/cntk/default.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, pkgs
|
||||
, numpy
|
||||
, scipy
|
||||
, enum34
|
||||
, protobuf
|
||||
, pip
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
inherit (pkgs.cntk) name version src meta;
|
||||
|
||||
buildInputs = [ pkgs.cntk pkgs.swig pkgs.openmpi ];
|
||||
propagatedBuildInputs = [ numpy scipy enum34 protobuf pip ];
|
||||
|
||||
CNTK_LIB_PATH = "${pkgs.cntk}/lib";
|
||||
CNTK_COMPONENT_VERSION = pkgs.cntk.version;
|
||||
|
||||
postPatch = ''
|
||||
cd bindings/python
|
||||
sed -i 's,"libmpi.so.12","${pkgs.openmpi}/lib/libmpi.so",g' cntk/train/distributed.py
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
rm -rf $out/${python.sitePackages}/cntk/libs
|
||||
ln -s ${pkgs.cntk}/lib $out/${python.sitePackages}/cntk/libs
|
||||
# It's not installed for some reason.
|
||||
cp cntk/cntk_py.py $out/${python.sitePackages}/cntk
|
||||
'';
|
||||
|
||||
# Actual tests are broken.
|
||||
checkPhase = ''
|
||||
cd $NIX_BUILD_TOP
|
||||
${python.interpreter} -c "import cntk"
|
||||
'';
|
||||
}
|
||||
35
pkgs/development/python-modules/colanderalchemy/default.nix
Normal file
35
pkgs/development/python-modules/colanderalchemy/default.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchpatch
|
||||
, fetchPypi
|
||||
, unittest2
|
||||
, colander
|
||||
, sqlalchemy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ColanderAlchemy";
|
||||
version = "0.3.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "11wcni2xmfmy001rj62q2pwf305vvngkrfm5c4zlwvgbvlsrvnnw";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/stefanofontanelli/ColanderAlchemy/commit/b45fe35f2936a5ccb705e9344075191e550af6c9.patch";
|
||||
sha256 = "1kf278wjq49zd6fhpp55vdcawzdd107767shzfck522sv8gr6qvx";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ unittest2 ];
|
||||
propagatedBuildInputs = [ colander sqlalchemy ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Autogenerate Colander schemas based on SQLAlchemy models";
|
||||
homepage = https://github.com/stefanofontanelli/ColanderAlchemy;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
24
pkgs/development/python-modules/colored/default.nix
Normal file
24
pkgs/development/python-modules/colored/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "colored";
|
||||
version = "1.1.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1r1vsypk8v7az82d66bidbxlndx1h7xd4m43hpg1a6hsjr30wrm3";
|
||||
};
|
||||
|
||||
# No proper test suite
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://gitlab.com/dslackw/colored;
|
||||
description = "Simple library for color and formatting to terminal";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
31
pkgs/development/python-modules/cornice/default.nix
Normal file
31
pkgs/development/python-modules/cornice/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pyramid
|
||||
, simplejson
|
||||
, six
|
||||
, venusian
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cornice";
|
||||
version = "3.4.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a7f8db903ba06c2584c7db4474459de3565d90b5e4ae4b97c687840e11d5b7fd";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyramid simplejson six venusian ];
|
||||
|
||||
# tests not packaged with pypi release
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/mozilla-services/cornice;
|
||||
description = "Build Web Services with Pyramid";
|
||||
license = licenses.mpl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
|
||||
}
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cupy";
|
||||
version = "4.4.0";
|
||||
version = "4.4.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "fca0e3d3fdad4c825197ea421bed0d253224b44daf738d82af5cba856c1c0b3e";
|
||||
sha256 = "d46a3eea628a17b9c3f446e4b13513a1f0cc0b9930214417b41c90dcf0bb427f";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
||||
@@ -15,13 +15,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cvxopt";
|
||||
version = "1.2.0";
|
||||
version = "1.2.1";
|
||||
|
||||
disabled = isPyPy; # hangs at [translation:info]
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "3296c9d49b7dcb894b20db5d7d1c1a443912b4d82358e03f836575e8398e0d60";
|
||||
sha256 = "12e3cfda982576b0b9b597d297aaf3172efa765a20fbed6f3c066aa0c48ee817";
|
||||
};
|
||||
|
||||
# similar to Gsl, glpk, fftw there is also a dsdp interface
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.1.1";
|
||||
version = "0.1.2";
|
||||
pname = "dask-image";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "e6294ac577a8fc0abec2b97a2c42d404f599feac61d6899bdf1bf2b7cfb0e015";
|
||||
sha256 = "401e2c345a582eb2859a4a2a4a6fcfbc85beece59705f3ead9b6708a0cd183e7";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest scikitimage ];
|
||||
|
||||
21
pkgs/development/python-modules/ddt/default.nix
Normal file
21
pkgs/development/python-modules/ddt/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ddt";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "e24ecb7e2cf0bf43fa9d4255d3ae2bd0b7ce30b1d1b89ace7aa68aca1152f37a";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Data-Driven/Decorated Tests, a library to multiply test cases";
|
||||
homepage = https://github.com/txels/ddt;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "deprecation";
|
||||
version = "2.0.5";
|
||||
version = "2.0.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "cbe7d15006bc339709be5e02b14884ecc479639c1a3714a908de3a8ca13b5ca9";
|
||||
sha256 = "68071e5ae7cd7e9da6c7dffd750922be4825c7c3a6780d29314076009cc39c35";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ packaging ];
|
||||
|
||||
41
pkgs/development/python-modules/deskcon/default.nix
Normal file
41
pkgs/development/python-modules/deskcon/default.nix
Normal file
@@ -0,0 +1,41 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, pyopenssl
|
||||
, pkgs
|
||||
, isPy3k
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "deskcon-0.3";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner= "screenfreeze";
|
||||
repo = "deskcon-desktop";
|
||||
rev = "267804122188fa79c37f2b21f54fe05c898610e6";
|
||||
sha256 ="0i1dd85ls6n14m9q7lkympms1w3x0pqyaxvalq82s4xnjdv585j3";
|
||||
};
|
||||
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
pythonPath = [ pyopenssl pkgs.gtk3 ];
|
||||
|
||||
installPhase = ''
|
||||
substituteInPlace server/deskcon-server --replace "python2" "python"
|
||||
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/lib/${python.libPrefix}/site-packages
|
||||
cp -r "server/"* $out/lib/${python.libPrefix}/site-packages
|
||||
mv $out/lib/${python.libPrefix}/site-packages/deskcon-server $out/bin/deskcon-server
|
||||
|
||||
wrapPythonProgramsIn $out/bin "$out $pythonPath"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Integrates an Android device into a desktop";
|
||||
homepage = https://github.com/screenfreeze/deskcon-desktop;
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
|
||||
}
|
||||
@@ -26,12 +26,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "distributed";
|
||||
version = "1.23.1";
|
||||
version = "1.23.3";
|
||||
|
||||
# get full repository need conftest.py to run tests
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9d4693442efe40e05e4304fe6d8174989c6eb4bad1afe70480c98263ef8e1cdb";
|
||||
sha256 = "2d48a4de280fd7243ca76f9b12db5fe2486fc89dcdb510c77fa51f51733a04cc";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytest-repeat pytest-faulthandler pytest-timeout mock joblib ];
|
||||
|
||||
21
pkgs/development/python-modules/distutils_extra/default.nix
Normal file
21
pkgs/development/python-modules/distutils_extra/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchurl
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "distutils-extra";
|
||||
version = "2.39";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://launchpad.net/python-distutils-extra/trunk/${version}/+download/python-${pname}-${version}.tar.gz";
|
||||
sha256 = "1bv3h2p9ffbzyddhi5sccsfwrm3i6yxzn0m06fdxkj2zsvs28gvj";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://launchpad.net/python-distutils-extra;
|
||||
description = "Enhancements to Python's distutils";
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
|
||||
}
|
||||
31
pkgs/development/python-modules/django/1_8.nix
Normal file
31
pkgs/development/python-modules/django/1_8.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchurl
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "Django-${version}";
|
||||
version = "1.8.18";
|
||||
disabled = pythonOlder "2.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.djangoproject.com/m/releases/1.8/${name}.tar.gz";
|
||||
sha256 = "1ishvbihr9pain0486qafb18dnb7v2ppq34nnx1s8f95bvfiqqf7";
|
||||
};
|
||||
|
||||
# too complicated to setup
|
||||
doCheck = false;
|
||||
|
||||
# patch only $out/bin to avoid problems with starter templates (see #3134)
|
||||
postFixup = ''
|
||||
wrapPythonProgramsIn $out/bin "$out $pythonPath"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A high-level Python Web framework";
|
||||
homepage = https://www.djangoproject.com/;
|
||||
license = licenses.bsd0;
|
||||
};
|
||||
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, django
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-classy-tags";
|
||||
version = "0.6.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0wxvpmjdzk0aajk33y4himn3wqjx7k0aqlka9j8ay3yfav78bdq0";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ django ];
|
||||
|
||||
# tests appear to be broken on 0.6.1 at least
|
||||
doCheck = ( version != "0.6.1" );
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Class based template tags for Django";
|
||||
homepage = https://github.com/ojii/django-classy-tags;
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
|
||||
}
|
||||
28
pkgs/development/python-modules/django_colorful/default.nix
Normal file
28
pkgs/development/python-modules/django_colorful/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, django
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-colorful";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0y34hzvfrm1xbxrd8frybc9yzgqvz4c07frafipjikw7kfjsw8az";
|
||||
};
|
||||
|
||||
# Tests aren't run
|
||||
doCheck = false;
|
||||
|
||||
# Requires Django >= 1.8
|
||||
buildInputs = [ django ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Django extension that provides database and form color fields";
|
||||
homepage = https://github.com/charettes/django-colorful;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, django
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-contrib-comments";
|
||||
version = "1.9.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "689f3f80ff7ea8ab9f712ae5fe17ffa2ee8babbf8d75229ee8acc7bad461dfef";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ django ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/django/django-contrib-comments;
|
||||
description = "The code formerly known as django.contrib.comments";
|
||||
license = licenses.bsd0;
|
||||
};
|
||||
|
||||
}
|
||||
27
pkgs/development/python-modules/django_environ/default.nix
Normal file
27
pkgs/development/python-modules/django_environ/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, django
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-environ";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0i32vsgk1xmwpi7i6f6v5hg653y9dl0fsz5qmv94skz6hwgm5kvh";
|
||||
};
|
||||
|
||||
# The testsuite fails to modify the base environment
|
||||
doCheck = false;
|
||||
propagatedBuildInputs = [ django six ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Utilize environment variables to configure your Django application";
|
||||
homepage = https://github.com/joke2k/django-environ/;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
26
pkgs/development/python-modules/django_evolution/default.nix
Normal file
26
pkgs/development/python-modules/django_evolution/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, django
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django_evolution";
|
||||
version = "0.7.5";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1qbcx54hq8iy3n2n6cki3bka1m9rp39np4hqddrm9knc954fb7nv";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ django ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A database schema evolution tool for the Django web framework";
|
||||
homepage = http://code.google.com/p/django-evolution/;
|
||||
license = licenses.bsd0;
|
||||
};
|
||||
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytz
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-modelcluster";
|
||||
version = "0.6.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1plsdi44dvsj2sfx79lsrccjfg0ymajcsf5n0mln4cwd4qi5mwpx";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ pytz six ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Django extension to allow working with 'clusters' of models as a single unit, independently of the database";
|
||||
homepage = https://github.com/torchbox/django-modelcluster/;
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ desiderius ];
|
||||
};
|
||||
|
||||
}
|
||||
28
pkgs/development/python-modules/django_nose/default.nix
Normal file
28
pkgs/development/python-modules/django_nose/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, django
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-nose";
|
||||
version = "1.4.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1fm47fkza2lk0xgc6qpi9vs78zg7q8cgl6mdan69sbycgy909ff0";
|
||||
};
|
||||
|
||||
# vast dependency list
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ django nose ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Provides all the goodness of nose in your Django tests";
|
||||
homepage = https://github.com/django-nose/django-nose;
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
|
||||
}
|
||||
24
pkgs/development/python-modules/django_reversion/default.nix
Normal file
24
pkgs/development/python-modules/django_reversion/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, django
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-reversion";
|
||||
version = "1.10.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "01iv8w6lmmq98qjhxmnp8ddjxifmhxcmp612ijd91wc8nv8lk12w";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ django ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An extension to the Django web framework that provides comprehensive version control facilities";
|
||||
homepage = https://github.com/etianen/django-reversion;
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
|
||||
}
|
||||
37
pkgs/development/python-modules/django_silk/default.nix
Normal file
37
pkgs/development/python-modules/django_silk/default.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, django
|
||||
, pygments
|
||||
, simplejson
|
||||
, dateutil
|
||||
, requests
|
||||
, sqlparse
|
||||
, jinja2
|
||||
, autopep8
|
||||
, pytz
|
||||
, pillow
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-silk";
|
||||
version = "0.5.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "845abc688738858ce06e993c4b7dbbcfcecf33029e828f143463ff96f9a78947";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [ mock ];
|
||||
propagatedBuildInputs = [ django pygments simplejson dateutil requests sqlparse jinja2 autopep8 pytz pillow ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Silky smooth profiling for the Django Framework";
|
||||
homepage = https://github.com/mtford90/silk;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
26
pkgs/development/python-modules/django_taggit/default.nix
Normal file
26
pkgs/development/python-modules/django_taggit/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-taggit";
|
||||
version = "0.17.0";
|
||||
disabled = pythonOlder "2.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1xy4mm1y6z6bpakw907859wz7fiw7jfm586dj89w0ggdqlb0767b";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "django-taggit is a reusable Django application for simple tagging";
|
||||
homepage = https://github.com/alex/django-taggit/tree/master/;
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ desiderius ];
|
||||
};
|
||||
|
||||
}
|
||||
30
pkgs/development/python-modules/django_treebeard/default.nix
Normal file
30
pkgs/development/python-modules/django_treebeard/default.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, django
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-treebeard";
|
||||
version = "4.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c21db06a8d4943bf2a28d9d7a119058698fb76116df2679ecbf15a46a501de42";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ django ];
|
||||
|
||||
# tests fail "AppRegistryNotReady("Apps aren't loaded yet.")"
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Efficient tree implementations for Django 1.6+";
|
||||
homepage = https://tabo.pe/projects/django-treebeard/;
|
||||
maintainers = with maintainers; [ desiderius ];
|
||||
license = licenses.asl20;
|
||||
};
|
||||
|
||||
}
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dominate";
|
||||
version = "2.3.1";
|
||||
version = "2.3.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0s9s9j9xmhkzw7apqx170fyvc0f800fd4a5jfn8xvj9k6vryd32b";
|
||||
sha256 = "8dfcca2bde3937a2d03db6e55efcb0c0dea0d4ab0923dc983d794b19e9247328";
|
||||
};
|
||||
|
||||
doCheck = !isPy3k;
|
||||
|
||||
24
pkgs/development/python-modules/dtopt/default.nix
Normal file
24
pkgs/development/python-modules/dtopt/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dtopt";
|
||||
version = "0.1";
|
||||
# Test contain Python 2 print
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "06ae07a12294a7ba708abaa63f838017d1a2faf6147a1e7a14ca4fa28f86da7f";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Add options to doctest examples while they are running";
|
||||
homepage = https://pypi.python.org/pypi/dtopt;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
43
pkgs/development/python-modules/dynd/default.nix
Normal file
43
pkgs/development/python-modules/dynd/default.nix
Normal file
@@ -0,0 +1,43 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPyPy
|
||||
, isPy3k
|
||||
, cython
|
||||
, numpy
|
||||
, pkgs
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.7.2";
|
||||
pname = "dynd";
|
||||
disabled = isPyPy || !isPy3k; # tests fail on python2, 2018-04-11
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "libdynd";
|
||||
repo = "dynd-python";
|
||||
rev = "v${version}";
|
||||
sha256 = "19igd6ibf9araqhq9bxmzbzdz05vp089zxvddkiik3b5gb7l17nh";
|
||||
};
|
||||
|
||||
# setup.py invokes git on build but we're fetching a tarball, so
|
||||
# can't retrieve git version. We hardcode:
|
||||
preConfigure = ''
|
||||
substituteInPlace setup.py --replace "ver = check_output(['git', 'describe', '--dirty'," "ver = '${version}'"
|
||||
substituteInPlace setup.py --replace "'--always', '--match', 'v*']).decode('ascii').strip('\n')" ""
|
||||
'';
|
||||
|
||||
# Python 3 works but has a broken import test that I couldn't
|
||||
# figure out.
|
||||
doCheck = !isPy3k;
|
||||
buildInputs = [ pkgs.cmake pkgs.libdynd.dev cython ];
|
||||
propagatedBuildInputs = [ numpy pkgs.libdynd ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://libdynd.org;
|
||||
license = licenses.bsd2;
|
||||
description = "Python exposure of dynd";
|
||||
maintainers = with maintainers; [ teh ];
|
||||
};
|
||||
|
||||
}
|
||||
26
pkgs/development/python-modules/ecdsa/default.nix
Normal file
26
pkgs/development/python-modules/ecdsa/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pkgs
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ecdsa";
|
||||
version = "0.13";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1yj31j0asmrx4an9xvsaj2icdmzy6pw0glfpqrrkrphwdpi1xkv4";
|
||||
};
|
||||
|
||||
# Only needed for tests
|
||||
buildInputs = [ pkgs.openssl ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "ECDSA cryptographic signature library";
|
||||
homepage = "https://github.com/warner/python-ecdsa";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ aszlig ];
|
||||
};
|
||||
|
||||
}
|
||||
31
pkgs/development/python-modules/editorconfig/default.nix
Normal file
31
pkgs/development/python-modules/editorconfig/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchgit
|
||||
, cmake
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "EditorConfig";
|
||||
version = "0.12.1";
|
||||
|
||||
# fetchgit used to ensure test submodule is available
|
||||
src = fetchgit {
|
||||
url = "https://github.com/editorconfig/editorconfig-core-py";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "0svk7id7ncygj2rnxhm7602xizljyidk4xgrl6i0xgq3829cz4bl";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake ];
|
||||
checkPhase = ''
|
||||
cmake .
|
||||
# utf_8_char fails with python3
|
||||
ctest -E "utf_8_char" .
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://editorconfig.org;
|
||||
description = "EditorConfig File Locator and Interpreter for Python";
|
||||
license = licenses.psfl;
|
||||
};
|
||||
|
||||
}
|
||||
32
pkgs/development/python-modules/elpy/default.nix
Normal file
32
pkgs/development/python-modules/elpy/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, rope
|
||||
, flake8
|
||||
, autopep8
|
||||
, jedi
|
||||
, importmagic
|
||||
, isPy27
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "elpy";
|
||||
version = "1.9.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "419f7b05b19182bc1aedde1ae80812c1534e59a0493476aa01ea819e76ba26f0";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ flake8 autopep8 jedi importmagic ]
|
||||
++ stdenv.lib.optionals isPy27 [ rope ];
|
||||
|
||||
doCheck = false; # there are no tests
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Backend for the elpy Emacs mode";
|
||||
homepage = "https://github.com/jorgenschaefer/elpy";
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
|
||||
}
|
||||
@@ -6,7 +6,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0gmdcdvh21v33ldg8kbxi7lph7znl2zdz1ic45100z4hx65w1sd9";
|
||||
sha256 = "a9e9c08be9907c0042212c86dfbea0f61f78e9897d4df41a1d6307017763ad3e";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
||||
26
pkgs/development/python-modules/enum/default.nix
Normal file
26
pkgs/development/python-modules/enum/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, isPyPy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "enum";
|
||||
version = "0.4.4";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9bdfacf543baf2350df7613eb37f598a802f346985ca0dc1548be6494140fdff";
|
||||
};
|
||||
|
||||
doCheck = !isPyPy;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://pypi.python.org/pypi/enum/;
|
||||
description = "Robust enumerated type support in Python";
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
|
||||
}
|
||||
27
pkgs/development/python-modules/enum34/default.nix
Normal file
27
pkgs/development/python-modules/enum34/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonAtLeast
|
||||
, python
|
||||
}:
|
||||
|
||||
if pythonAtLeast "3.4" then null else buildPythonPackage rec {
|
||||
pname = "enum34";
|
||||
version = "1.1.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest discover
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://pypi.python.org/pypi/enum34;
|
||||
description = "Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4";
|
||||
license = licenses.bsd0;
|
||||
};
|
||||
|
||||
}
|
||||
25
pkgs/development/python-modules/epc/default.nix
Normal file
25
pkgs/development/python-modules/epc/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, sexpdata
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "epc";
|
||||
version = "0.0.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "30b594bd4a4acbd5bda0d3fa3d25b4e8117f2ff8f24d2d1e3e36c90374f3c55e";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ sexpdata ];
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "EPC (RPC stack for Emacs Lisp) implementation in Python";
|
||||
homepage = "https://github.com/tkf/python-epc";
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
|
||||
}
|
||||
40
pkgs/development/python-modules/et_xmlfile/default.nix
Normal file
40
pkgs/development/python-modules/et_xmlfile/default.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, lxml
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.0.1";
|
||||
pname = "et_xmlfile";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256="0nrkhcb6jdrlb6pwkvd4rycw34y3s931hjf409ij9xkjsli9fkb1";
|
||||
};
|
||||
|
||||
buildInputs = [ lxml pytest ];
|
||||
checkPhase = ''
|
||||
py.test $out
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An implementation of lxml.xmlfile for the standard library";
|
||||
longDescription = ''
|
||||
et_xmlfile is a low memory library for creating large XML files.
|
||||
|
||||
It is based upon the xmlfile module from lxml with the aim of
|
||||
allowing code to be developed that will work with both
|
||||
libraries. It was developed initially for the openpyxl project
|
||||
but is now a standalone module.
|
||||
|
||||
The code was written by Elias Rabel as part of the Python
|
||||
Düsseldorf openpyxl sprint in September 2014.
|
||||
'';
|
||||
homepage = "https://pypi.python.org/pypi/et_xmlfile";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ sjourdois ];
|
||||
};
|
||||
|
||||
}
|
||||
34
pkgs/development/python-modules/etcd/default.nix
Normal file
34
pkgs/development/python-modules/etcd/default.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchurl
|
||||
, simplejson
|
||||
, pytz
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "etcd";
|
||||
version = "2.0.8";
|
||||
|
||||
# PyPI package is incomplete
|
||||
src = fetchurl {
|
||||
url = "https://github.com/dsoprea/PythonEtcdClient/archive/${version}.tar.gz";
|
||||
sha256 = "0fi6rxa1yxvz7nwrc7dw6fax3041d6bj3iyhywjgbkg7nadi9i8v";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
sed -i -e '13,14d;37d' setup.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ simplejson pytz requests ];
|
||||
|
||||
# No proper tests are available
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A Python etcd client that just works";
|
||||
homepage = https://github.com/dsoprea/PythonEtcdClient;
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
|
||||
}
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Eve";
|
||||
version = "0.8";
|
||||
version = "0.8.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9f926c715f88c7a92dc2b950ccc09cccd91f72fe0e93cde806b85d25b947df2f";
|
||||
sha256 = "88105080e8a2567a1a8d50a5cded0d7d95e95f704b310c8107ef2ff7696f5316";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
33
pkgs/development/python-modules/eventlet/default.nix
Normal file
33
pkgs/development/python-modules/eventlet/default.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, httplib2
|
||||
, pyopenssl
|
||||
, greenlet
|
||||
, enum-compat
|
||||
, isPyPy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "eventlet";
|
||||
version = "0.20.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "15bq5ybbigxnp5xwkps53zyhlg15lmcnq3ny2dppj0r0bylcs5rf";
|
||||
};
|
||||
|
||||
buildInputs = [ nose httplib2 pyopenssl ];
|
||||
|
||||
doCheck = false; # too much transient errors to bother
|
||||
|
||||
propagatedBuildInputs = [ enum-compat ]
|
||||
++ stdenv.lib.optionals (!isPyPy) [ greenlet ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://pypi.python.org/pypi/eventlet/;
|
||||
description = "A concurrent networking library for Python";
|
||||
};
|
||||
|
||||
}
|
||||
30
pkgs/development/python-modules/eventlib/default.nix
Normal file
30
pkgs/development/python-modules/eventlib/default.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, isPy3k
|
||||
, fetchdarcs
|
||||
, greenlet
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-eventlib";
|
||||
version = "0.2.2";
|
||||
# Judging from SyntaxError
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchdarcs {
|
||||
url = "http://devel.ag-projects.com/repositories/${pname}";
|
||||
rev = "release-${version}";
|
||||
sha256 = "1zxhpq8i4jwsk7wmfncqfm211hqikj3hp38cfv509924bi76wak8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ greenlet ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Eventlib bindings for python";
|
||||
homepage = "http://ag-projects.com/";
|
||||
license = licenses.lgpl2;
|
||||
};
|
||||
|
||||
}
|
||||
42
pkgs/development/python-modules/execnet/default.nix
Normal file
42
pkgs/development/python-modules/execnet/default.nix
Normal file
@@ -0,0 +1,42 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, setuptools_scm
|
||||
, apipkg
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "execnet";
|
||||
version = "1.4.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1rpk1vyclhg911p3hql0m0nrpq7q7mysxnaaw6vs29cpa6kx8vgn";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest setuptools_scm ];
|
||||
propagatedBuildInputs = [ apipkg ];
|
||||
|
||||
# remove vbox tests
|
||||
postPatch = ''
|
||||
rm -v testing/test_termination.py
|
||||
rm -v testing/test_channel.py
|
||||
rm -v testing/test_xspec.py
|
||||
rm -v testing/test_gateway.py
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
py.test testing
|
||||
'';
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Rapid multi-Python deployment";
|
||||
license = licenses.gpl2;
|
||||
homepage = "http://codespeak.net/execnet";
|
||||
maintainers = with maintainers; [ nand0p ];
|
||||
};
|
||||
|
||||
}
|
||||
22
pkgs/development/python-modules/exifread/default.nix
Normal file
22
pkgs/development/python-modules/exifread/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ExifRead";
|
||||
version = "2.1.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1b90jf6m9vxh9nanhpyvqdq7hmfx5iggw1l8kq10jrs6xgr49qkr";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Easy to use Python module to extract Exif metadata from tiff and jpeg files";
|
||||
homepage = "https://github.com/ianare/exif-py";
|
||||
license = licenses.bsd0;
|
||||
maintainers = with maintainers; [ vozz ];
|
||||
};
|
||||
|
||||
}
|
||||
42
pkgs/development/python-modules/eyed3/default.nix
Normal file
42
pkgs/development/python-modules/eyed3/default.nix
Normal file
@@ -0,0 +1,42 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchurl
|
||||
, paver
|
||||
, python
|
||||
, isPyPy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.7.8";
|
||||
pname = "eyeD3";
|
||||
disabled = isPyPy;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://eyed3.nicfit.net/releases/${pname}-${version}.tar.gz";
|
||||
sha256 = "1nv7nhfn1d0qm7rgkzksbccgqisng8klf97np0nwaqwd5dbmdf86";
|
||||
};
|
||||
|
||||
buildInputs = [ paver ];
|
||||
|
||||
postInstall = ''
|
||||
for prog in "$out/bin/"*; do
|
||||
wrapProgram "$prog" --prefix PYTHONPATH : "$PYTHONPATH" \
|
||||
--prefix PATH : ${python}/bin
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A Python module and command line program for processing ID3 tags";
|
||||
homepage = http://eyed3.nicfit.net/;
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ lovek323 ];
|
||||
platforms = platforms.unix;
|
||||
longDescription = ''
|
||||
eyeD3 is a Python module and command line program for processing ID3
|
||||
tags. Information about mp3 files (i.e bit rate, sample frequency, play
|
||||
time, etc.) is also provided. The formats supported are ID3 v1.0/v1.1
|
||||
and v2.3/v2.4.
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
||||
24
pkgs/development/python-modules/factory_boy/default.nix
Normal file
24
pkgs/development/python-modules/factory_boy/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fake_factory
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "factory_boy";
|
||||
version = "2.6.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0a21f8kq917fj8xgmyp6gy8vcrlzzgwn80qas0d76h3vjbdy0bdq";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ fake_factory ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A Python package to create factories for complex objects";
|
||||
homepage = https://github.com/rbarrois/factory_boy;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
33
pkgs/development/python-modules/fake_factory/default.nix
Normal file
33
pkgs/development/python-modules/fake_factory/default.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, six
|
||||
, dateutil
|
||||
, ipaddress
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fake-factory";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "09sgk0kylsshs64a1xsz3qr187sbnqrbf4z8k3dgsy32lsgyffv2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six dateutil ipaddress mock ];
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest faker.tests
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A Python package that generates fake data for you";
|
||||
homepage = https://pypi.python.org/pypi/fake-factory;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ lovek323 ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
||||
}
|
||||
37
pkgs/development/python-modules/falcon/default.nix
Normal file
37
pkgs/development/python-modules/falcon/default.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, coverage
|
||||
, ddt
|
||||
, nose
|
||||
, pyyaml
|
||||
, requests
|
||||
, testtools
|
||||
, six
|
||||
, python_mimeparse
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "falcon";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "ddce23a2dd0abba6d19775e9bf7ba64e184b15a0e7163e65f62af63354193f63";
|
||||
};
|
||||
|
||||
checkInputs = [coverage ddt nose pyyaml requests testtools];
|
||||
propagatedBuildInputs = [ six python_mimeparse ];
|
||||
|
||||
# The travis build fails since the migration from multiprocessing to threading for hosting the API under test.
|
||||
# OSError: [Errno 98] Address already in use
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An unladen web framework for building APIs and app backends";
|
||||
homepage = http://falconframework.org;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ desiderius ];
|
||||
};
|
||||
|
||||
}
|
||||
35
pkgs/development/python-modules/fdroidserver/default.nix
Normal file
35
pkgs/development/python-modules/fdroidserver/default.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitLab
|
||||
, libcloud
|
||||
, pyyaml
|
||||
, paramiko
|
||||
, pyasn1
|
||||
, pyasn1-modules
|
||||
, pillow
|
||||
, mwclient
|
||||
, GitPython
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2016-05-31";
|
||||
pname = "fdroidserver-git";
|
||||
disabled = ! isPy3k;
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "fdroid";
|
||||
repo = "fdroidserver";
|
||||
rev = "401649e0365e6e365fc48ae8a3af94768af865f3";
|
||||
sha256 = "1mmi2ffpym1qw694yj938kc7b4xhq0blri7wkjaqddcyykjyr94d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ libcloud pyyaml paramiko pyasn1 pyasn1-modules pillow mwclient GitPython ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://f-droid.org;
|
||||
description = "Server and tools for F-Droid, the Free Software repository system for Android";
|
||||
license = licenses.agpl3;
|
||||
};
|
||||
|
||||
}
|
||||
25
pkgs/development/python-modules/feedparser/default.nix
Normal file
25
pkgs/development/python-modules/feedparser/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "feedparser";
|
||||
version = "5.2.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1ycva69bqssalhqg45rbrfipz3l6hmycszy26k0351fhq990c0xx";
|
||||
};
|
||||
|
||||
# lots of networking failures
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://code.google.com/p/feedparser/;
|
||||
description = "Universal feed parser";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ domenkozar ];
|
||||
};
|
||||
|
||||
}
|
||||
40
pkgs/development/python-modules/filebrowser_safe/default.nix
Normal file
40
pkgs/development/python-modules/filebrowser_safe/default.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, django
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.5.0";
|
||||
pname = "filebrowser_safe";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5dcd31dd79684025139b43841f6515af1da5a4bb0de15bc4d88003db1970648e";
|
||||
};
|
||||
|
||||
buildInputs = [ django ];
|
||||
|
||||
# There is no test embedded
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A snapshot of django-filebrowser for the Mezzanine CMS";
|
||||
longDescription = ''
|
||||
filebrowser_safe was created to provide a snapshot of the
|
||||
FileBrowser asset manager for Django, to be referenced as a
|
||||
dependency for the Mezzanine CMS for Django.
|
||||
|
||||
At the time of filebrowser_safe's creation, FileBrowser was
|
||||
incorrectly packaged on PyPI, and had also dropped compatibility
|
||||
with Django 1.1 - filebrowser_safe was therefore created to
|
||||
address these specific issues.
|
||||
'';
|
||||
homepage = https://github.com/stephenmcd/filebrowser-safe;
|
||||
downloadPage = https://pypi.python.org/pypi/filebrowser_safe/;
|
||||
license = licenses.free;
|
||||
maintainers = with maintainers; [ prikhi ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
||||
}
|
||||
22
pkgs/development/python-modules/filebytes/default.nix
Normal file
22
pkgs/development/python-modules/filebytes/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "filebytes";
|
||||
version = "0.9.12";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "6cd1c4ca823f6541c963a317e55382609789802dedad08209f4d038369e3f0ac";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://scoding.de/filebytes-introduction";
|
||||
license = licenses.gpl2;
|
||||
description = "Scripts to parse ELF, PE, Mach-O and OAT (Android Runtime)";
|
||||
maintainers = with maintainers; [ bennofs ];
|
||||
};
|
||||
|
||||
}
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "filelock";
|
||||
version = "3.0.6";
|
||||
version = "3.0.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "59ccab92fe118da7e5ce5a9fcd95506ade58d9d5f606db4922192524edfac820";
|
||||
sha256 = "97694f181bdf58f213cca0a7cb556dc7bf90e2f8eb9aa3151260adac56701afb";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
28
pkgs/development/python-modules/flaky/default.nix
Normal file
28
pkgs/development/python-modules/flaky/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mock
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flaky";
|
||||
version = "3.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1x9ixika7wqjj52x8wnsh1vk7jadkdqpx01plj7mlh8slwyq4s41";
|
||||
};
|
||||
|
||||
buildInputs = [ mock pytest ];
|
||||
|
||||
# waiting for feedback https://github.com/box/flaky/issues/97
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/box/flaky;
|
||||
description = "Plugin for nose or py.test that automatically reruns flaky tests";
|
||||
license = licenses.asl20;
|
||||
};
|
||||
|
||||
}
|
||||
@@ -8,11 +8,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Flask-AutoIndex";
|
||||
version = "0.6.1";
|
||||
version = "0.6.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0v87sa073hmj64f47sazbiw08kyxsxay100bd5084jwq7c1y92d7";
|
||||
sha256 = "af2cdb34eefe6edbf43ce19200880829e8c2df3598000e75dc63c9b7e3478706";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
30
pkgs/development/python-modules/flowlogs_reader/default.nix
Normal file
30
pkgs/development/python-modules/flowlogs_reader/default.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, botocore
|
||||
, boto3
|
||||
, docutils
|
||||
, unittest2
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flowlogs_reader";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0158aki6m3pkf98hpd60088qyhrfxkmybdf8hv3qfl8nb61vaiwf";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ botocore boto3 docutils ];
|
||||
buildInputs = [ unittest2 mock ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python library to make retrieving Amazon VPC Flow Logs from CloudWatch Logs a bit easier";
|
||||
homepage = "https://github.com/obsrvbl/flowlogs-reader";
|
||||
maintainers = with maintainers; [ cransom ];
|
||||
license = licenses.asl20;
|
||||
};
|
||||
|
||||
}
|
||||
23
pkgs/development/python-modules/flup/default.nix
Normal file
23
pkgs/development/python-modules/flup/default.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, isPy3k
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flup";
|
||||
version = "1.0.3";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5eb09f26eb0751f8380d8ac43d1dfb20e1d42eca0fa45ea9289fa532a79cd159";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://trac.saddi.com/flup";
|
||||
description = "FastCGI Python module set";
|
||||
license = licenses.bsd0;
|
||||
};
|
||||
|
||||
}
|
||||
@@ -8,11 +8,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fonttools";
|
||||
version = "3.29.0";
|
||||
version = "3.29.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "aab38c8c131670684321437d4857dcb4de1c775efd152a9ca9c4d81f1cb97fe7";
|
||||
sha256 = "a687ca070daddb7ee25e3472b631acd0e53dbf11ecdf8e76248ee556472ede9d";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
|
||||
40
pkgs/development/python-modules/foolscap/default.nix
Normal file
40
pkgs/development/python-modules/foolscap/default.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mock
|
||||
, twisted
|
||||
, pyopenssl
|
||||
, service-identity
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "foolscap";
|
||||
version = "0.12.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1bpmqq6485mmr5jza9q2c55l9m1bfsvsbd9drsip7p5qcsi22jrz";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ mock twisted pyopenssl service-identity ];
|
||||
|
||||
checkPhase = ''
|
||||
# Either uncomment this, or remove this custom check phase entirely, if
|
||||
# you wish to do battle with the foolscap tests. ~ C.
|
||||
# trial foolscap
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://foolscap.lothar.com/;
|
||||
description = "Foolscap, an RPC protocol for Python that follows the distributed object-capability model";
|
||||
longDescription = ''
|
||||
"Foolscap" is the name for the next-generation RPC protocol,
|
||||
intended to replace Perspective Broker (part of Twisted).
|
||||
Foolscap is a protocol to implement a distributed
|
||||
object-capabilities model in Python.
|
||||
'';
|
||||
# See http://foolscap.lothar.com/trac/browser/LICENSE.
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
21
pkgs/development/python-modules/forbiddenfruit/default.nix
Normal file
21
pkgs/development/python-modules/forbiddenfruit/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.1.0";
|
||||
pname = "forbiddenfruit";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0xra2kw6m8ag29ifwmhi5zqksh4cr0yy1waqd488rm59kcr3zl79";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Patch python built-in objects";
|
||||
homepage = https://pypi.python.org/pypi/forbiddenfruit;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
34
pkgs/development/python-modules/fudge/default.nix
Normal file
34
pkgs/development/python-modules/fudge/default.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, nosejs
|
||||
, sphinx
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fudge";
|
||||
version = "1.1.0";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "eba59a926fa1df1ab6dddd69a7a8af21865b16cad800cb4d1af75070b0f52afb";
|
||||
};
|
||||
|
||||
buildInputs = [ nose nosejs ];
|
||||
propagatedBuildInputs = [ sphinx ];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests -v
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/fudge-py/fudge;
|
||||
description = "Replace real objects with fakes (mocks, stubs, etc) while testing";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
|
||||
}
|
||||
31
pkgs/development/python-modules/funcparserlib/default.nix
Normal file
31
pkgs/development/python-modules/funcparserlib/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "funcparserlib";
|
||||
version = "0.3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b7992eac1a3eb97b3d91faa342bfda0729e990bd8a43774c1592c091e563c91d";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest discover
|
||||
'';
|
||||
|
||||
# Tests are Python 2.x only judging from SyntaxError
|
||||
doCheck = !(isPy3k);
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Recursive descent parsing library based on functional combinators";
|
||||
homepage = https://code.google.com/p/funcparserlib/;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
||||
}
|
||||
22
pkgs/development/python-modules/functools32/default.nix
Normal file
22
pkgs/development/python-modules/functools32/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
if isPy3k then null else buildPythonPackage rec {
|
||||
pname = "functools32";
|
||||
version = "3.2.3-2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0v8ya0b58x47wp216n1zamimv4iw57cxz3xxhzix52jkw3xks9gn";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "This is a backport of the functools standard library module from";
|
||||
homepage = "https://github.com/MiCHiLU/python-functools32";
|
||||
license = licenses.psfl;
|
||||
};
|
||||
|
||||
}
|
||||
37
pkgs/development/python-modules/fusepy/default.nix
Normal file
37
pkgs/development/python-modules/fusepy/default.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pkgs
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fusepy";
|
||||
version = "2.0.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0v5grm4zyf58hsplwsxfbihddw95lz9w8cy3rpzbyha287swgx8h";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pkgs.fuse ];
|
||||
|
||||
# No tests included
|
||||
doCheck = false;
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace fuse.py --replace \
|
||||
"find_library('fuse')" "'${pkgs.fuse}/lib/libfuse.so'"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Simple ctypes bindings for FUSE";
|
||||
longDescription = ''
|
||||
Python module that provides a simple interface to FUSE and MacFUSE.
|
||||
It's just one file and is implemented using ctypes.
|
||||
'';
|
||||
homepage = https://github.com/terencehonles/fusepy;
|
||||
license = licenses.isc;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
||||
}
|
||||
35
pkgs/development/python-modules/gateone/default.nix
Normal file
35
pkgs/development/python-modules/gateone/default.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, tornado
|
||||
, futures
|
||||
, html5lib
|
||||
, pkgs
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "gateone-1.2-0d57c3";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
rev = "1d0e8037fbfb7c270f3710ce24154e24b7031bea";
|
||||
owner= "liftoff";
|
||||
repo = "GateOne";
|
||||
sha256 = "1ghrawlqwv7wnck6alqpbwy9mpv0y21cw2jirrvsxaracmvgk6vv";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [tornado futures html5lib pkgs.openssl pkgs.cacert pkgs.openssh];
|
||||
|
||||
postInstall=''
|
||||
cp -R "$out/gateone/"* $out/lib/python2.7/site-packages/gateone
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://liftoffsoftware.com/;
|
||||
description = "GateOne is a web-based terminal emulator and SSH client";
|
||||
maintainers = with maintainers; [ tomberek ];
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
|
||||
}
|
||||
21
pkgs/development/python-modules/gcovr/default.nix
Normal file
21
pkgs/development/python-modules/gcovr/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gcovr";
|
||||
version = "2.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "2c878e03c2eff2282e64035bec0a30532b2b1173aadf08486401883b79e4dab1";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A Python script for summarizing gcov data";
|
||||
license = licenses.bsd0;
|
||||
homepage = http://gcovr.com/;
|
||||
};
|
||||
|
||||
}
|
||||
41
pkgs/development/python-modules/gcutil/default.nix
Normal file
41
pkgs/development/python-modules/gcutil/default.nix
Normal file
@@ -0,0 +1,41 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchurl
|
||||
, gflags
|
||||
, iso8601
|
||||
, ipaddr
|
||||
, httplib2
|
||||
, google_apputils
|
||||
, google_api_python_client
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "gcutil-1.16.1";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchurl {
|
||||
url = https://dl.google.com/dl/cloudsdk/release/artifacts/gcutil-1.16.1.tar.gz;
|
||||
sha256 = "00jaf7x1ji9y46fbkww2sg6r6almrqfsprydz3q2swr4jrnrsx9x";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ gflags iso8601 ipaddr httplib2 google_apputils google_api_python_client ];
|
||||
|
||||
prePatch = ''
|
||||
sed -i -e "s|google-apputils==0.4.0|google-apputils==0.4.1|g" setup.py
|
||||
substituteInPlace setup.py \
|
||||
--replace "httplib2==0.8" "httplib2" \
|
||||
--replace "iso8601==0.1.4" "iso8601" \
|
||||
--replace "ipaddr==2.1.10" "ipaddr" \
|
||||
--replace "google-api-python-client==1.2" "google-api-python-client" \
|
||||
--replace "python-gflags==2.0" "python-gflags"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Command-line tool for interacting with Google Compute Engine";
|
||||
homepage = "https://cloud.google.com/compute/docs/gcutil/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ phreedom ];
|
||||
};
|
||||
|
||||
}
|
||||
48
pkgs/development/python-modules/gdrivefs/default.nix
Normal file
48
pkgs/development/python-modules/gdrivefs/default.nix
Normal file
@@ -0,0 +1,48 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchurl
|
||||
, isPy3k
|
||||
, gipc
|
||||
, greenlet
|
||||
, httplib2
|
||||
, six
|
||||
, dateutil
|
||||
, fusepy
|
||||
, google_api_python_client
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.14.9";
|
||||
pname = "gdrivefs";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/dsoprea/GDriveFS/archive/${version}.tar.gz";
|
||||
sha256 = "1mc2r35nf5k8vzwdcdhi0l9rb97amqd5xb53lhydj8v8f4rndk7a";
|
||||
};
|
||||
|
||||
buildInputs = [ gipc greenlet httplib2 six ];
|
||||
propagatedBuildInputs = [ dateutil fusepy google_api_python_client ];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace gdrivefs/resources/requirements.txt \
|
||||
--replace "==" ">="
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Mount Google Drive as a local file system";
|
||||
longDescription = ''
|
||||
GDriveFS is a FUSE wrapper for Google Drive developed. Design goals:
|
||||
- Thread for monitoring changes via "changes" functionality of API.
|
||||
- Complete stat() implementation.
|
||||
- Seamlessly work around duplicate-file allowances in Google Drive.
|
||||
- Seamlessly manage file-type versatility in Google Drive
|
||||
(Google Doc files do not have a particular format).
|
||||
- Allow for the same file at multiple paths.
|
||||
'';
|
||||
homepage = https://github.com/dsoprea/GDriveFS;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
||||
}
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "genanki";
|
||||
version = "0.6.0";
|
||||
version = "0.6.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0xj8yd3acl8h457sh42balvcd0z4mg5idd4q63f7qlfzc5wgbb74";
|
||||
sha256 = "2408f7d9955c8963fd9b1ecbb873f5d18dee786e060dcb083aef5dd86c736773";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
32
pkgs/development/python-modules/genshi/default.nix
Normal file
32
pkgs/development/python-modules/genshi/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Genshi";
|
||||
version = "0.7.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0d87ae62cf2ed92133f35725da51e02d09f79bb4cb986f0d948408a0279dd3f8";
|
||||
};
|
||||
|
||||
# FAIL: test_sanitize_remove_script_elem (genshi.filters.tests.html.HTMLSanitizerTestCase)
|
||||
# FAIL: test_sanitize_remove_src_javascript (genshi.filters.tests.html.HTMLSanitizerTestCase)
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [ setuptools ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python components for parsing HTML, XML and other textual content";
|
||||
longDescription = ''
|
||||
Python library that provides an integrated set of components for
|
||||
parsing, generating, and processing HTML, XML or other textual
|
||||
content for output generation on the web.
|
||||
'';
|
||||
homepage = https://genshi.edgewall.org/;
|
||||
license = licenses.bsd0;
|
||||
};
|
||||
}
|
||||
24
pkgs/development/python-modules/genzshcomp/default.nix
Normal file
24
pkgs/development/python-modules/genzshcomp/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "genzshcomp";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c77d007cc32cdff836ecf8df6192371767976c108a75b055e057bb6f4a09cd42";
|
||||
};
|
||||
|
||||
buildInputs = [ setuptools ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Automatically generated zsh completion function for Python's option parser modules";
|
||||
homepage = http://bitbucket.org/hhatto/genzshcomp/;
|
||||
license = licenses.bsd0;
|
||||
};
|
||||
|
||||
}
|
||||
29
pkgs/development/python-modules/gevent-socketio/default.nix
Normal file
29
pkgs/development/python-modules/gevent-socketio/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, versiontools
|
||||
, gevent-websocket
|
||||
, mock
|
||||
, pytest
|
||||
, gevent
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gevent-socketio";
|
||||
version = "0.3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1zra86hg2l1jcpl9nsnqagy3nl3akws8bvrbpgdxk15x7ywllfak";
|
||||
};
|
||||
|
||||
buildInputs = [ versiontools gevent-websocket mock pytest ];
|
||||
propagatedBuildInputs = [ gevent ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/abourget/gevent-socketio;
|
||||
description = "SocketIO server based on the Gevent pywsgi server, a Python network library";
|
||||
license = licenses.bsd0;
|
||||
};
|
||||
|
||||
}
|
||||
27
pkgs/development/python-modules/gevent-websocket/default.nix
Normal file
27
pkgs/development/python-modules/gevent-websocket/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, gevent
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gevent-websocket";
|
||||
version = "0.9.3";
|
||||
# SyntaxError in tests.
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "07rqwfpbv13mk6gg8mf0bmvcf6siyffjpgai1xd8ky7r801j4xb4";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ gevent ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://www.gitlab.com/noppo/gevent-websocket;
|
||||
description = "Websocket handler for the gevent pywsgi server, a Python network library";
|
||||
license = licenses.asl20;
|
||||
};
|
||||
|
||||
}
|
||||
36
pkgs/development/python-modules/geventhttpclient/default.nix
Normal file
36
pkgs/development/python-modules/geventhttpclient/default.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, gevent
|
||||
, certifi
|
||||
, six
|
||||
, backports_ssl_match_hostname
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "geventhttpclient";
|
||||
version = "1.3.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "bd87af8854f5fb05738916c8973671f7035568aec69b7c842887d6faf9c0a01d";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ gevent certifi six backports_ssl_match_hostname ];
|
||||
|
||||
# Several tests fail that require network
|
||||
doCheck = false;
|
||||
checkPhase = ''
|
||||
py.test $out
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/gwik/geventhttpclient;
|
||||
description = "HTTP client library for gevent";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ koral ];
|
||||
};
|
||||
|
||||
}
|
||||
35
pkgs/development/python-modules/gipc/default.nix
Normal file
35
pkgs/development/python-modules/gipc/default.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, gevent
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gipc";
|
||||
version = "0.5.0";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "08c35xzv7nr12d9xwlywlbyzzz2igy0yy6y52q2nrkmh5d4slbpc";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ gevent ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "gevent-cooperative child processes and IPC";
|
||||
longDescription = ''
|
||||
Usage of Python's multiprocessing package in a gevent-powered
|
||||
application may raise problems and most likely breaks the application
|
||||
in various subtle ways. gipc (pronunciation "gipsy") is developed with
|
||||
the motivation to solve many of these issues transparently. With gipc,
|
||||
multiprocessing. Process-based child processes can safely be created
|
||||
anywhere within your gevent-powered application.
|
||||
'';
|
||||
homepage = http://gehrcke.de/gipc;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
25
pkgs/development/python-modules/git-sweep/default.nix
Normal file
25
pkgs/development/python-modules/git-sweep/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, GitPython
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "git-sweep";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1csp0zd049d643d409rfivbswwzrayb4i6gkypp5mc27fb1z2afd";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ GitPython ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A command-line tool that helps you clean up Git branches";
|
||||
homepage = https://github.com/arc90/git-sweep;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
};
|
||||
|
||||
}
|
||||
28
pkgs/development/python-modules/github-webhook/default.nix
Normal file
28
pkgs/development/python-modules/github-webhook/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchgit
|
||||
, flask
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "github-webhook";
|
||||
version = "unstable-2016-03-11";
|
||||
|
||||
# There is a PyPI package but an older one.
|
||||
src = fetchgit {
|
||||
url = "https://github.com/bloomberg/python-github-webhook.git";
|
||||
rev = "ca1855479ee59c4373da5425dbdce08567605d49";
|
||||
sha256 = "0mqwig9281iyzbphp1d21a4pqdrf98vs9k8lqpqx6spzgqaczx5f";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ flask ];
|
||||
# No tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A framework for writing webhooks for GitHub";
|
||||
license = licenses.mit;
|
||||
homepage = https://github.com/bloomberg/python-github-webhook;
|
||||
};
|
||||
|
||||
}
|
||||
45
pkgs/development/python-modules/github3_py/default.nix
Normal file
45
pkgs/development/python-modules/github3_py/default.nix
Normal file
@@ -0,0 +1,45 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, unittest2
|
||||
, pytest
|
||||
, mock
|
||||
, betamax
|
||||
, betamax-matchers
|
||||
, dateutil
|
||||
, requests
|
||||
, pyopenssl
|
||||
, uritemplate_py
|
||||
, ndg-httpsclient
|
||||
, requests_toolbelt
|
||||
, pyasn1
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "github3.py";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1cxaqdqmz9w2afc0cw2jyv783fp0grydbik0frzj79azzkhyg4gf";
|
||||
};
|
||||
|
||||
buildInputs = [ unittest2 pytest mock betamax betamax-matchers dateutil ];
|
||||
propagatedBuildInputs = [ requests pyopenssl uritemplate_py ndg-httpsclient requests_toolbelt pyasn1 ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e 's/mock ==1.0.1/mock>=1.0.1/' setup.py
|
||||
sed -i -e 's/unittest2 ==0.5.1/unittest2>=0.5.1/' setup.py
|
||||
'';
|
||||
|
||||
# TODO: only disable the tests that require network
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://github3py.readthedocs.org/en/master/;
|
||||
description = "A wrapper for the GitHub API written in python";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
};
|
||||
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user