Merge pull request #38439 from NixOS/python-unstable
Python package set changes
This commit is contained in:
commit
b4a517841b
|
@ -13,26 +13,17 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "Cython";
|
pname = "Cython";
|
||||||
name = "${pname}-${version}";
|
version = "0.28.1";
|
||||||
version = "0.27.3";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "6a00512de1f2e3ce66ba35c5420babaef1fe2d9c43a8faab4080b0dbcc26bc64";
|
sha256 = "152ee5f345012ca3bb7cc71da2d3736ee20f52cd8476e4d49e5e25c5a4102b12";
|
||||||
};
|
};
|
||||||
|
|
||||||
# With Python 2.x on i686-linux or 32-bit ARM this test fails because the
|
|
||||||
# result is "3L" instead of "3", so let's fix it in-place.
|
|
||||||
#
|
|
||||||
# Upstream issue: https://github.com/cython/cython/issues/1548
|
|
||||||
postPatch = lib.optionalString ((stdenv.isi686 || stdenv.isArm) && !isPy3k) ''
|
|
||||||
sed -i -e 's/\(>>> *\)\(verify_resolution_GH1533()\)/\1int(\2)/' \
|
|
||||||
tests/run/cpdef_enums.pyx
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgconfig
|
pkgconfig
|
||||||
# For testing
|
];
|
||||||
|
checkInputs = [
|
||||||
numpy ncurses
|
numpy ncurses
|
||||||
];
|
];
|
||||||
buildInputs = [ glibcLocales gdb ];
|
buildInputs = [ glibcLocales gdb ];
|
||||||
|
@ -46,10 +37,6 @@ buildPythonPackage rec {
|
||||||
${if stdenv.cc.isClang or false then ''--exclude="(cpdef_extern_func|libcpp_algo)"'' else ""}
|
${if stdenv.cc.isClang or false then ''--exclude="(cpdef_extern_func|libcpp_algo)"'' else ""}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Disable tests temporarily
|
|
||||||
# https://github.com/cython/cython/issues/1676
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "An optimising static compiler for both the Python programming language and the extended Cython programming language";
|
description = "An optimising static compiler for both the Python programming language and the extended Cython programming language";
|
||||||
homepage = http://cython.org;
|
homepage = http://cython.org;
|
||||||
|
|
|
@ -11,20 +11,21 @@
|
||||||
, pytest
|
, pytest
|
||||||
, gunicorn
|
, gunicorn
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
|
, async_generator
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiohttp";
|
pname = "aiohttp";
|
||||||
version = "3.0.9";
|
version = "3.1.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "281a9fa56b5ce587a2147ec285d18a224942f7e020581afa6cc44d7caecf937b";
|
sha256 = "dc5cab081d4b334d0440b019edf24fe1cb138b8114e0e22d2b0661284bc1775f";
|
||||||
};
|
};
|
||||||
|
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
checkInputs = [ pytest gunicorn pytest-mock ];
|
checkInputs = [ pytest gunicorn pytest-mock async_generator ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ attrs chardet multidict async-timeout yarl ]
|
propagatedBuildInputs = [ attrs chardet multidict async-timeout yarl ]
|
||||||
++ lib.optional (pythonOlder "3.7") idna-ssl;
|
++ lib.optional (pythonOlder "3.7") idna-ssl;
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, pytest, case, vine }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "amqp";
|
||||||
|
version = "2.1.4";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1ybywzkd840v1qvb1p2bs08js260vq1jscjg8182hv7bmwacqy0k";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest case ];
|
||||||
|
propagatedBuildInputs = [ vine ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/celery/py-amqp;
|
||||||
|
description = "Python client for the Advanced Message Queuing Procotol (AMQP). This is a fork of amqplib which is maintained by the Celery project";
|
||||||
|
license = licenses.lgpl21;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,15 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchdarcs, zope_interface, isPy3k }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "python-application";
|
||||||
|
version = "2.0.2";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchdarcs {
|
||||||
|
url = "http://devel.ag-projects.com/repositories/${pname}";
|
||||||
|
rev = "release-${version}";
|
||||||
|
sha256 = "19dszv44py8qrq0jcjdycxpa7z2p8hi3ijq9gnqdsazbbjzf9svn";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ zope_interface ];
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder, pytest, pytest-asyncio }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "async_generator";
|
||||||
|
version = "1.9";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "b7d5465c6174fe86dba498ececb175f93a6097ffb7cc91946405e1f05b848371";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ pytest pytest-asyncio ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
pytest -W error -ra -v --pyargs async_generator
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Async generators and context managers for Python 3.5+";
|
||||||
|
homepage = https://github.com/python-trio/async_generator;
|
||||||
|
license = with licenses; [ mit asl20 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, isPy33, pythonOlder }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "asyncio";
|
||||||
|
version = "3.4.3";
|
||||||
|
disabled = pythonOlder "3.3";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0hfbqwk9y0bbfgxzg93s2wyk6gcjsdxlr5jwy97hx64ppkw0ydl3";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Reference implementation of PEP 3156";
|
||||||
|
homepage = http://www.python.org/dev/peps/pep-3156;
|
||||||
|
license = licenses.free;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, pytest, cffi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "atomiclong";
|
||||||
|
version = "0.1.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1gjbc9lvpkgg8vj7dspif1gz9aq4flkhxia16qj6yvb7rp27h4yb";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest ];
|
||||||
|
propagatedBuildInputs = [ cffi ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Long data type with atomic operations using CFFI";
|
||||||
|
homepage = https://github.com/dreid/atomiclong;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ robbinch ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "atomicwrites";
|
||||||
|
version = "0.1.9";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "08s05h211r07vs66r4din3swrbzb344vli041fihpg34q3lcxpvw";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Atomic file writes on POSIX";
|
||||||
|
homepage = https://pypi.python.org/pypi/atomicwrites;
|
||||||
|
maintainers = with maintainers; [ matthiasbeyer ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, coverage, nose, six }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "attrdict";
|
||||||
|
version = "2.0.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1lrailzxy40dx6sn1hbpnpqfbg7ar75dfj41kx0480wyh39vdbl6";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ coverage nose six ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A dict with attribute-style access";
|
||||||
|
homepage = https://github.com/bcj/AttrDict;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "avro";
|
||||||
|
version = "1.7.6";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1mbsf1y7gnzmnfmqh8aw62yrwnpwm5bhmmkkbbq92a5vr91l3wgd";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A serialization and RPC framework";
|
||||||
|
homepage = https://pypi.python.org/pypi/avro/;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "avro3k";
|
||||||
|
version = "1.7.7-SNAPSHOT";
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "15ahl0irwwj558s964abdxg4vp6iwlabri7klsm2am6q5r0ngsky";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = false; # No such file or directory: './run_tests.py
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A serialization and RPC framework";
|
||||||
|
homepage = https://pypi.python.org/pypi/avro3k/;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "babelfish";
|
||||||
|
version = "0.5.5";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "8380879fa51164ac54a3e393f83c4551a275f03617f54a99d70151358e444104";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://pypi.python.org/pypi/babelfish;
|
||||||
|
description = "A module to work with countries and languages";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "batinfo";
|
||||||
|
version = "0.3";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0gyzkxzvj5l6qrw706bnm3cckqzzzbrjr7jkxc087d7775a73499";
|
||||||
|
};
|
||||||
|
|
||||||
|
# No tests included
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/nicolargo/batinfo;
|
||||||
|
description = "A simple Python lib to retrieve battery information";
|
||||||
|
license = licenses.lgpl3;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ koral ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, docutils, six }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "bcdoc";
|
||||||
|
version = "0.14.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1s2kdqs1n2mj7wq3w0pq30zs7vxq0l3abik2clqnc4hm2j7crbk8";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ docutils six ];
|
||||||
|
|
||||||
|
# Tests fail due to nix file timestamp normalization.
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/botocore/bcdoc;
|
||||||
|
license = licenses.asl20;
|
||||||
|
description = "ReST document generation tools for botocore";
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, requests }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "betamax";
|
||||||
|
version = "0.8.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1hki1c2vs7adq7zr56wi6i5bhrkia4s2ywpv2c98ibnczz709w2v";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ requests ];
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://betamax.readthedocs.org/en/latest/;
|
||||||
|
description = "A VCR imitation for requests";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ pSub ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, isPyPy, pytest, case }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "billiard";
|
||||||
|
version = "3.5.0.2";
|
||||||
|
disabled = isPyPy;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1anw68rkja1dbgvndxz5mq6f89hmxwaha0fjcdnsl5j1wj7imc1y";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest case ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/celery/billiard;
|
||||||
|
description = "Python multiprocessing fork with improvements and bugfixes";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,23 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
||||||
|
, requests_oauthlib, nose, sh }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "bitbucket-api";
|
||||||
|
version = "0.4.4";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1cl5xa55ijjd23xs8znsd4w4vb3q1vkbmchy7hh6z6nmjcwbr478";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ requests_oauthlib nose sh ];
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/Sheeprider/BitBucket-api;
|
||||||
|
description = "Python library to interact with BitBucket REST API";
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,23 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, requests }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "bitbucket-cli";
|
||||||
|
version = "0.5.1";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1xmn73x6jirnwfwcdy380ncmkai9f9dhmld6zin01ypbqwgf50fq";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ requests ];
|
||||||
|
|
||||||
|
# No tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Bitbucket command line interface";
|
||||||
|
homepage = https://bitbucket.org/zhemao/bitbucket-cli;
|
||||||
|
maintainers = with maintainers; [ refnil ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "blinker";
|
||||||
|
version = "1.4";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1dpq0vb01p36jjwbhhd08ylvrnyvcc82yxx3mwjx6awrycjyw6j7";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://pythonhosted.org/blinker/;
|
||||||
|
description = "Fast, simple object-to-object and broadcast signaling";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ garbas ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, setuptools }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "bottle";
|
||||||
|
version = "0.12.11";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0cd787lzggs933qfav6xicx5c78dz6npwgg3xc4rhah44nbqz5d1";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ setuptools ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://bottlepy.org;
|
||||||
|
description = "A fast and simple micro-framework for small web-applications";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ koral ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,31 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, mock, unittest2, nose
|
||||||
|
, twiggy, requests, offtrac, bugzilla, taskw, dateutil, pytz, keyring, six
|
||||||
|
, jinja2, pycurl, dogpile_cache, lockfile, click, pyxdg, future15 }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "bugwarrior";
|
||||||
|
version = "1.5.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0kxknjbw5kchd88i577vlzibg8j60r7zzdhbnragj9wg5s3w60xb";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ mock unittest2 nose /* jira megaplan */ ];
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
twiggy requests offtrac bugzilla taskw dateutil pytz keyring six
|
||||||
|
jinja2 pycurl dogpile_cache lockfile click pyxdg future15
|
||||||
|
];
|
||||||
|
|
||||||
|
# for the moment jira>=0.22 and megaplan>=1.4 are missing for running the test suite.
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/ralphbean/bugwarrior;
|
||||||
|
description = "Sync github, bitbucket, bugzilla, and trac issues with taskwarrior";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ pierron ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,30 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, pep8, coverage, logilab_common, requests }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "bugzilla";
|
||||||
|
version = "1.1.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0ikx21nm7cch4lz9agv5h1hx6zvg2alkpfdrl01khqgilhsicdhi";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [ ./checkPhase-fix-cookie-compare.patch ];
|
||||||
|
|
||||||
|
buildInputs = [ pep8 coverage logilab_common ];
|
||||||
|
propagatedBuildInputs = [ requests ];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
mkdir -p check-phase
|
||||||
|
export HOME=$(pwd)/check-phase
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://fedorahosted.org/python-bugzilla/;
|
||||||
|
description = "Bugzilla XMLRPC access module";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ pierron ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "zc.buildout";
|
||||||
|
version = "2.2.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1xafi6ndlm964qj7pnmzmvhp719c8pgs7r7wkr508v3cq2jjw4m6";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://www.buildout.org;
|
||||||
|
description = "A software build and configuration system";
|
||||||
|
license = licenses.zpl21;
|
||||||
|
maintainers = with maintainers; [ garbas ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "bunch";
|
||||||
|
version = "1.0.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1akalx2pd1fjlvrq69plvcx783ppslvikqdm93z2sdybq07pmish";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,28 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, boto, crcmod, psutil }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "buttersink";
|
||||||
|
version = "0.6.8";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "04gc63kfcqkw4qba5rijqk01xiphf04yk7hky9180ii64v2ip0j3";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ boto crcmod psutil ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Synchronise btrfs snapshots";
|
||||||
|
longDescription = ''
|
||||||
|
ButterSink is like rsync, but for btrfs subvolumes instead of files,
|
||||||
|
which makes it much more efficient for things like archiving backup
|
||||||
|
snapshots. It is built on top of btrfs send and receive capabilities.
|
||||||
|
Sources and destinations can be local btrfs file systems, remote btrfs
|
||||||
|
file systems over SSH, or S3 buckets.
|
||||||
|
'';
|
||||||
|
homepage = https://github.com/AmesCornish/buttersink/wiki;
|
||||||
|
license = licenses.gpl3;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, cairocffi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "cairosvg";
|
||||||
|
version = "1.0.18";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "01lpm38qp7xlnv8jv7qg48j44p5088dwfsrcllgs5fz355lrfds1";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ cairocffi ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://cairosvg.org;
|
||||||
|
license = licenses.lgpl3;
|
||||||
|
description = "SVG converter based on Cairo";
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, nose, amqplib, anyjson }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "carrot";
|
||||||
|
version = "0.10.7";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0s14rs2fgp1s2qa0avn8gj33lwc3k1hd4y9a2h6mhg487i7kfinb";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ nose ];
|
||||||
|
propagatedBuildInputs = [ amqplib anyjson ];
|
||||||
|
|
||||||
|
doCheck = false; # depends on the network
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://pypi.python.org/pypi/carrot;
|
||||||
|
description = "AMQP Messaging Framework for Python";
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, six, nose, unittest2, mock }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "case";
|
||||||
|
version = "1.5.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1zbhbw87izcxj9rvqg432a7r69ps2ks20mqq3g3hgd42sckcy3ca";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ six nose unittest2 mock ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/celery/case;
|
||||||
|
description = "unittests utilities";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "Cerberus";
|
||||||
|
version = "0.9.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1km7hvns1snrmcwz58bssi4wv3gwd34zm1z1hwjylmpqrfrcf8mi";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://python-cerberus.org/;
|
||||||
|
description = "Lightweight, extensible schema and data validation tool for Python dictionaries";
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "check-manifest";
|
||||||
|
version = "0.30";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0005vp3r7wh87pf41cr4rw015lbnzn228a607nx34r98p7cd17xi";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/mgedmin/check-manifest;
|
||||||
|
description = "Check MANIFEST.in in a Python source package for completeness";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ lewo ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,16 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, iowait, psutil, pyzmq, tornado, mock }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "circus";
|
||||||
|
version = "0.11.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0ip87wlq864k2rhk2r0rqq12ard1iggb61r6dsga4gh7lm538mrp";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = false; # weird error
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ iowait psutil pyzmq tornado mock ];
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, isPyPy }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "python-cjson";
|
||||||
|
version = "1.1.0";
|
||||||
|
disabled = isPy3k || isPyPy;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1cz87pd411h1fj5am99i19jp53yizcz9mkg1a7cc6a1pb6vsn7x0";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A very fast JSON encoder/decoder for Python";
|
||||||
|
homepage = http://ag-projects.com/;
|
||||||
|
license = licenses.lgpl2;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,29 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, docopt, requests, pygments }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "clf";
|
||||||
|
version = "0.5.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "04lqd2i4fjs606b0q075yi9xksk567m0sfph6v6j80za0hvzqyy5";
|
||||||
|
};
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
sed -i 's/==/>=/' requirements.txt
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ docopt requests pygments ];
|
||||||
|
|
||||||
|
# Error when running tests:
|
||||||
|
# No local packages or download links found for requests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/ncrocfer/clf;
|
||||||
|
description = "Command line tool to search snippets on Commandlinefu.com";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ koral ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, click }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "click-log";
|
||||||
|
version = "0.2.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1r1x85023cslb2pwldd089jjk573mk3w78cnashs77wrx7yz8fj9";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ click ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/click-contrib/click-log/;
|
||||||
|
description = "Logging integration for Click";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "click";
|
||||||
|
version = "5.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0njsm0wn31l21bi118g5825ma5sa3rwn7v2x4wjd7yiiahkri337";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://click.pocoo.org/;
|
||||||
|
description = "Create beautiful command line interfaces in Python";
|
||||||
|
longDescription = ''
|
||||||
|
A Python package for creating beautiful command line interfaces in a
|
||||||
|
composable way, with as little code as necessary.
|
||||||
|
'';
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ mog ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,30 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, pytest }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "click";
|
||||||
|
version = "6.7";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "02qkfpykbq35id8glfgwc38yc430427yd05z1wc5cnld8zgicmgi";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test tests
|
||||||
|
'';
|
||||||
|
|
||||||
|
# https://github.com/pallets/click/issues/823
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://click.pocoo.org/;
|
||||||
|
description = "Create beautiful command line interfaces in Python";
|
||||||
|
longDescription = ''
|
||||||
|
A Python package for creating beautiful command line interfaces in a
|
||||||
|
composable way, with as little code as necessary.
|
||||||
|
'';
|
||||||
|
license = licenses.bsd3;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,27 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, pytest, mock }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "cloudpickle";
|
||||||
|
version = "0.2.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0x4fbycipkhfax7lydaxcnc14g42g274qba17j51shr5gbq6m8lx";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest mock ];
|
||||||
|
|
||||||
|
# See README for tests invocation
|
||||||
|
checkPhase = ''
|
||||||
|
PYTHONPATH=$PYTHONPATH:'.:tests' py.test
|
||||||
|
'';
|
||||||
|
|
||||||
|
# TypeError: cannot serialize '_io.FileIO' object
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Extended pickling support for Python objects";
|
||||||
|
homepage = https://github.com/cloudpipe/cloudpickle;
|
||||||
|
license = with licenses; [ bsd3 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, pyyaml }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "cmdline";
|
||||||
|
version = "0.1.6";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0sjkcfp4w3rxy2lm2n60dbfkc33kdb3f6254hrrvn4ci3rqv8b5y";
|
||||||
|
};
|
||||||
|
|
||||||
|
# No tests, https://github.com/rca/cmdline/issues/1
|
||||||
|
doCheck = false;
|
||||||
|
propagatedBuildInputs = [ pyyaml ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Utilities for consistent command line tools";
|
||||||
|
homepage = https://github.com/rca/cmdline;
|
||||||
|
license = licenses.asl20;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "cogapp";
|
||||||
|
version = "2.3";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0gzmzbsk54r1qa6wd0yg4zzdxvn2f19ciprr2acldxaknzrpllnn";
|
||||||
|
};
|
||||||
|
|
||||||
|
# there are no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A code generator for executing Python snippets in source files";
|
||||||
|
homepage = http://nedbatchelder.com/code/cog;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ lovek323 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, stompclient, pythondaemon, redis, pid, pytest, six, click, coverage
|
||||||
|
, sqlalchemy }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "CoilMQ";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0wwa6fsqw1mxsryvgp0yrdjil8axyj0kslzi7lr45cnhgp5ab375";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ stompclient pythondaemon redis pid ];
|
||||||
|
buildInputs = [ pytest six click coverage sqlalchemy ];
|
||||||
|
|
||||||
|
# The teste data is not included in the distribution
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Simple, lightweight, and easily extensible STOMP message broker";
|
||||||
|
homepage = http://code.google.com/p/coilmq/;
|
||||||
|
license = licenses.asl20;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "colorclass";
|
||||||
|
version = "2.2.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "b05c2a348dfc1aff2d502527d78a5b7b7e2f85da94a96c5081210d8e9ee8e18b";
|
||||||
|
};
|
||||||
|
|
||||||
|
# No tests in archive
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/Robpol86/colorclass;
|
||||||
|
license = licenses.mit;
|
||||||
|
description = "Automatic support for console colors";
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, d2to1 }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "colour";
|
||||||
|
version = "0.1.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0w1j43l76zw10dvs2kk7jz7kqj2ss7gfgfdxyls27pckwin89gxb";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ d2to1 ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Converts and manipulates common color representation (RGB, HSV, web, ...)";
|
||||||
|
homepage = https://github.com/vaab/colour;
|
||||||
|
license = licenses.bsd2;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,23 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, six }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "configobj";
|
||||||
|
version = "5.0.6";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "00h9rcmws03xvdlfni11yb60bz3kxfvsj6dg6nrpzj71f03nbxd2";
|
||||||
|
};
|
||||||
|
|
||||||
|
# error: invalid command 'test'
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Config file reading, writing and validation";
|
||||||
|
homepage = https://pypi.python.org/pypi/configobj;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ garbas ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,24 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "configparser";
|
||||||
|
version = "3.5.0";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0fi7vf09vi1588jd8f16a021m5y6ih2hy7rpbjb408xw45qb822k";
|
||||||
|
};
|
||||||
|
|
||||||
|
# No tests available
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
# Fix issue when used together with other namespace packages
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/23855
|
||||||
|
patches = [
|
||||||
|
./0001-namespace-fix.patch
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,24 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, requests, six, pytest }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "python-consul";
|
||||||
|
version = "0.7.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "18gs5myk9wkkq5zvj0n0s68ngj3mrbdcifshxfj1j0bgb1km0wpm";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ requests six pytest ];
|
||||||
|
|
||||||
|
# No tests distributed. https://github.com/cablehead/python-consul/issues/133
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Python client for Consul (https://www.consul.io/)";
|
||||||
|
homepage = https://github.com/cablehead/python-consul;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ desiderius ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,14 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "contexter";
|
||||||
|
version = "0.1.3";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0xrnkjya29ya0hkj8y4k9ni2mnr58i6r0xfqlj7wk07v4jfrkc8n";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,28 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, isPyPy
|
||||||
|
, itsdangerous, pytest, freezegun, docutils, jinja2, future, binaryornot, click
|
||||||
|
, whichcraft, poyo, jinja2_time }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "cookiecutter";
|
||||||
|
version = "1.4.0";
|
||||||
|
|
||||||
|
# not sure why this is broken
|
||||||
|
disabled = isPyPy;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1clxnabmc5s4b519r1sxyj1163x833ir8xcypmdfpf6r9kbb35vn";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ itsdangerous pytest freezegun docutils ];
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
jinja2 future binaryornot click whichcraft poyo jinja2_time
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/audreyr/cookiecutter;
|
||||||
|
description = "A command-line utility that creates projects from project templates";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ kragniz ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "cookies";
|
||||||
|
version = "2.2.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "13pfndz8vbk4p2a44cfbjsypjarkrall71pgc97glk5fiiw9idnn";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Friendlier RFC 6265-compliant cookie parser/renderer";
|
||||||
|
homepage = https://github.com/sashahart/cookies;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, coverage }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "cov-core";
|
||||||
|
version = "1.15.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0k3np9ymh06yv1ib96sb6wfsxjkqhmik8qfsn119vnhga9ywc52a";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ coverage ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Plugin core for use by pytest-cov, nose-cov and nose2-cov";
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "crcmod";
|
||||||
|
version = "1.7";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "07k0hgr42vw2j92cln3klxka81f33knd7459cn3d8aszvfh52w6w";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Python module for generating objects that compute the Cyclic Redundancy Check (CRC)";
|
||||||
|
homepage = http://crcmod.sourceforge.net/;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, coverage, nose, pbkdf2 }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "cryptacular";
|
||||||
|
version = "1.4.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "18fl7phl6r9xiwz8f1jpkahkv21wimmiq72gmrqncccv7z806gr7";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ coverage nose ];
|
||||||
|
propagatedBuildInputs = [ pbkdf2 ];
|
||||||
|
|
||||||
|
# TODO: tests fail: TypeError: object of type 'NoneType' has no len()
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
maintainers = with maintainers; [ domenkozar ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "cssselect";
|
||||||
|
version = "0.9.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "10h623qnp6dp1191jri7lvgmnd4yfkl36k9smqklp1qlf3iafd85";
|
||||||
|
};
|
||||||
|
|
||||||
|
# AttributeError: 'module' object has no attribute 'tests'
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, mock }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "cssutils";
|
||||||
|
version = "1.0.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0qwha9x1wml2qmipbcz03gndnlwhzrjdvw9i09si247a90l8p8fq";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ mock ];
|
||||||
|
|
||||||
|
# couple of failing tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A Python package to parse and build CSS";
|
||||||
|
homepage = http://code.google.com/p/cssutils/;
|
||||||
|
license = licenses.lgpl3Plus;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,29 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, mock }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "darcsver";
|
||||||
|
version = "1.7.4";
|
||||||
|
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1yb1c3jxqvy4r3qiwvnb86qi5plw6018h15r3yk5ji3nk54qdcb6";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ mock ];
|
||||||
|
|
||||||
|
# Note: We don't actually need to provide Darcs as a build input.
|
||||||
|
# Darcsver will DTRT when Darcs isn't available. See news.gmane.org
|
||||||
|
# http://thread.gmane.org/gmane.comp.file-systems.tahoe.devel/3200 for a
|
||||||
|
# discussion.
|
||||||
|
|
||||||
|
# AttributeError: 'module' object has no attribute 'test_darcsver'
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Darcsver, generate a version number from Darcs history";
|
||||||
|
homepage = https://pypi.python.org/pypi/darcsver;
|
||||||
|
license = "BSD-style";
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, pillow, tox, mock, six, nose, requests, decorator, simplejson }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "datadog";
|
||||||
|
version = "0.10.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0y2if4jj43n5jis20imragvhhyhr840w4m1g7j7fxh9bn7h273zp";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pillow tox mock six nose ];
|
||||||
|
propagatedBuildInputs = [ requests decorator simplejson ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "The Datadog Python library";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
homepage = https://github.com/DataDog/datadogpy;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, six }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "python-dateutil";
|
||||||
|
version = "1.5";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "02dhw57jf5kjcp7ng1if7vdrbnlpb9yjmz7wygwwvf3gni4766bg";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Powerful extensions to the standard datetime module";
|
||||||
|
homepage = https://pypi.python.org/pypi/python-dateutil;
|
||||||
|
license = "BSD-style";
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, pytest, pytestrunner, hypothesis}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "datrie";
|
||||||
|
version = "0.7.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "08r0if7dry2q7p34gf7ffyrlnf4bdvnprxgydlfxgfnvq8f3f4bs";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest pytestrunner hypothesis ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Super-fast, efficiently stored Trie for Python";
|
||||||
|
homepage = "https://github.com/kmike/datrie";
|
||||||
|
license = licenses.lgpl2;
|
||||||
|
maintainers = with maintainers; [ lewo ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,14 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, chardet, six}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "python-debian";
|
||||||
|
version = "0.1.23";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "193faznwnjc3n5991wyzim6h9gyq1zxifmfrnpm3avgkh7ahyynh";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ chardet six ];
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "defusedxml";
|
||||||
|
version = "0.5.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1x54n0h8hl92vvwyymx883fbqpqjwn2mc8fb383bcg3z9zwz5mr4";
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, six }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "derpconf";
|
||||||
|
version = "0.4.9";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0si3xnhyjk8dykr377v35bldsjv1ikgx4ff3crizwxv47ag42aci";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "derpconf abstracts loading configuration files for your app";
|
||||||
|
homepage = https://github.com/globocom/derpconf;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,27 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, pytest, tox, py, eventlet }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "detox";
|
||||||
|
version = "0.10.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1v5sq3ak1b6388k1q31cd4pds56z76l2myvj022ncwv5lp109drk";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest ];
|
||||||
|
propagatedBuildInputs = [ tox py eventlet ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test
|
||||||
|
'';
|
||||||
|
|
||||||
|
# eventlet timeout, and broken invokation 3.5
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "What is detox?";
|
||||||
|
homepage = https://bitbucket.org/hpk42/detox;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,23 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, requests }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "python-digitalocean";
|
||||||
|
version = "1.10.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "12qybflfnl08acspz7rpaprmlabgrzimacbd7gm9qs5537hl3qnp";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ requests ];
|
||||||
|
|
||||||
|
# Package doesn't distribute tests.
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "digitalocean.com API to manage Droplets and Images";
|
||||||
|
homepage = https://pypi.python.org/pypi/python-digitalocean;
|
||||||
|
license = licenses.lgpl3;
|
||||||
|
maintainers = with maintainers; [ teh ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, six }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "docker-pycreds";
|
||||||
|
version = "0.2.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0j3k5wk3bww5y0f2rvgzsin0q98k0i9j308vpsmxidw0y8n3m0wk";
|
||||||
|
};
|
||||||
|
|
||||||
|
# require docker-credential-helpers binaries
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Python bindings for the docker credentials store API.";
|
||||||
|
homepage = https://github.com/shin-/dockerpy-creds;
|
||||||
|
license = licenses.asl20;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,26 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
||||||
|
, boto, redis, setuptools, simplejson }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "docker-registry-core";
|
||||||
|
version = "2.0.3";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0q036rr0b5734szkj883hkb2kjhgcc5pm3dz4yz8vcim3x7q0zil";
|
||||||
|
};
|
||||||
|
|
||||||
|
DEPS = "loose";
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
propagatedBuildInputs = [ boto redis setuptools simplejson ];
|
||||||
|
|
||||||
|
patchPhase = "> requirements/main.txt";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Docker registry core package";
|
||||||
|
homepage = https://github.com/docker/docker-registry;
|
||||||
|
license = licenses.asl20;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, six }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "dockerpty";
|
||||||
|
version = "0.4.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1kjn64wx23jmr8dcc6g7bwlmrhfmxr77gh6iphqsl39sayfxdab9";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Functionality needed to operate the pseudo-tty (PTY) allocated to a docker container";
|
||||||
|
homepage = https://github.com/d11wtq/dockerpty;
|
||||||
|
license = licenses.asl20;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "docopt";
|
||||||
|
version = "0.6.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "14f4hn6d1j4b99svwbaji8n2zj58qicyz19mm0x6pmhb50jsics9";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Pythonic argument parser, that will make you smile";
|
||||||
|
homepage = http://docopt.org/;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, nose }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "doctest-ignore-unicode";
|
||||||
|
version = "0.1.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1m9aa4qnyj21lbq4sbvmv1vcz7zksss4rz37ddf2hxv4hk8b547w";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ nose ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Add flag to ignore unicode literal prefixes in doctests";
|
||||||
|
license = with licenses; [ asl20 ];
|
||||||
|
homepage = https://github.com/gnublade/doctest-ignore-unicode;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "dogpile.core";
|
||||||
|
version = "0.4.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0xpdvg4kr1isfkrh1rfsh7za4q5a5s6l2kf9wpvndbwf3aqjyrdy";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A 'dogpile' lock, typically used as a component of a larger caching solution";
|
||||||
|
homepage = https://bitbucket.org/zzzeek/dogpile.core;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,24 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, pytestrunner, requests, urllib3, mock, setuptools }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "dropbox";
|
||||||
|
version = "8.0.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0bixx80zjq0286dwm4zhg8bdhc8pqlrqy4n2jg7i6m6a4gv4gak5";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Set DROPBOX_TOKEN environment variable to a valid token.
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
buildInputs = [ pytestrunner ];
|
||||||
|
propagatedBuildInputs = [ requests urllib3 mock setuptools ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A Python library for Dropbox's HTTP-based Core and Datastore APIs";
|
||||||
|
homepage = https://www.dropbox.com/developers/core/docs;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,13 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "dugong";
|
||||||
|
version = "3.5";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.3"; # Library does not support versions older than 3.3
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0y0rdxbiwm03zv6vpvapqilrird3h8ijz7xmb0j7ds5j4p6q3g24";
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "EasyProcess";
|
||||||
|
version = "0.2.3";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "07z6485bjxkmx26mp1p1ww19d10qavw0s006bidzailsvk543qll";
|
||||||
|
};
|
||||||
|
|
||||||
|
# No tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Easy to use python subprocess interface";
|
||||||
|
homepage = https://github.com/ponty/EasyProcess;
|
||||||
|
license = licenses.bsdOriginal;
|
||||||
|
maintainers = with maintainers; [ layus ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "HeapDict";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0nhvxyjq6fp6zd7jzmk5x4fg6xhakqx9lhkp5yadzkqn0rlf7ja0";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = !isPy3k;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "a heap with decrease-key and increase-key operations.";
|
||||||
|
homepage = http://stutzbachenterprises.com;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ teh ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, six, requests-cache, pygments, pyquery }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "howdoi";
|
||||||
|
version = "1.1.7";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1dx9ms0b3z3bx02paj78cyi788d8l6cpd3jqbn3j88w736i4jknz";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ six requests-cache pygments pyquery ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Instant coding answers via the command line";
|
||||||
|
homepage = https://pypi.python.org/pypi/howdoi;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,16 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "iowait";
|
||||||
|
version = "0.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "16djvxd9sxm7cr57clhqkyrq3xvdzgwj803sy5hwyb62hkmw46xb";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Platform-independent module for I/O completion events";
|
||||||
|
homepage = https://launchpad.net/python-iowait;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, six }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "jdatetime";
|
||||||
|
version = "1.7.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1b1ksspm86r272ar8v0v4ip1821i4azpix6xhxpb4l133iwsb2y0";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Jalali datetime binding for python";
|
||||||
|
homepage = https://pypi.python.org/pypi/jdatetime;
|
||||||
|
license = licenses.psfl;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,23 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, pytest }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "locket";
|
||||||
|
version = "0.2.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1d4z2zngrpqkrfhnd4yhysh66kjn4mblys2l06sh5dix2p0n7vhz";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest ];
|
||||||
|
|
||||||
|
# weird test requirements (spur.local>=0.3.7,<0.4)
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Locket implements a lock that can be used by multiple processes provided they use the same path.";
|
||||||
|
homepage = https://github.com/mwilliamson/locket.py;
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = with maintainers; [ teh ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,35 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
||||||
|
, scipy, numpy, matplotlib, tables, pyaml, urllib3, rpy2, mpi4py }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "NeuroTools";
|
||||||
|
version = "0.3.1";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0ly6qa87l3afhksab06vp1iimlbm1kdnsw98mxcnpzz9q07l4nd4";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Tests are not automatically run
|
||||||
|
# Many tests fail (using py.test), and some need R
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
scipy
|
||||||
|
numpy
|
||||||
|
matplotlib
|
||||||
|
tables
|
||||||
|
pyaml
|
||||||
|
urllib3
|
||||||
|
rpy2
|
||||||
|
mpi4py
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Collection of tools to support analysis of neural activity";
|
||||||
|
homepage = https://pypi.python.org/pypi/NeuroTools;
|
||||||
|
license = licenses.gpl2;
|
||||||
|
maintainers = with maintainers; [ nico202 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "noise";
|
||||||
|
version = "1.2.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0rcv40dcshqpchwkdlhsv3n68h9swm9fh4d1cgzr2hsp6rs7k8jp";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/caseman/noise;
|
||||||
|
description = "Native-code and shader implementations of Perlin noise";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
|
@ -3,7 +3,6 @@
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "numpy";
|
pname = "numpy";
|
||||||
version = "1.14.2";
|
version = "1.14.2";
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pbkdf2";
|
||||||
|
version = "1.3";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0yb99rl2mbsaamj571s1mf6vgniqh23v98k4632150hjkwv9fqxc";
|
||||||
|
};
|
||||||
|
|
||||||
|
# ImportError: No module named test
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
maintainers = with maintainers; [ domenkozar ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,28 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pkginfo";
|
||||||
|
version = "1.3.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0qg4sq3m0pxvjahc3sncwhw42z5rfw22k0ybskmdqkl2agykay7q";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = false; # I don't know why, but with doCheck = true it fails.
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://pypi.python.org/pypi/pkginfo;
|
||||||
|
license = licenses.mit;
|
||||||
|
description = "Query metadatdata from sdists / bdists / installed packages";
|
||||||
|
|
||||||
|
longDescription = ''
|
||||||
|
This package provides an API for querying the distutils metadata
|
||||||
|
written in the PKG-INFO file inside a source distriubtion (an sdist)
|
||||||
|
or a binary distribution (e.g., created by running bdist_egg). It can
|
||||||
|
also query the EGG-INFO directory of an installed distribution, and the
|
||||||
|
*.egg-info stored in a “development checkout” (e.g, created by running
|
||||||
|
setup.py develop).
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pretend";
|
||||||
|
version = "1.0.8";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0r5r7ygz9m6d2bklflbl84cqhjkc2q12xgis8268ygjh30g2q3wk";
|
||||||
|
};
|
||||||
|
|
||||||
|
# No tests in archive
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/alex/pretend;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, nose, pyparsing, decorator, six }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "PyContracts";
|
||||||
|
version = "1.7.9";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0rdc9pz08885vqkazjc3lyrrghmf3jzxnlsgpn8akl808x1qrfqf";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ nose ];
|
||||||
|
propagatedBuildInputs = [ pyparsing decorator six ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Allows to declare constraints on function parameters and return values";
|
||||||
|
homepage = https://pypi.python.org/pypi/PyContracts;
|
||||||
|
license = licenses.lgpl2;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, python }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pycparser";
|
||||||
|
version = "2.14";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0wvzyb6rxsfj3xcnpa4ynbh9qc7rrbk2277d5wqpphmx9akv8nbr";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
${python.interpreter} -m unittest discover -s tests
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "C parser in Python";
|
||||||
|
homepage = https://github.com/eliben/pycparser;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ domenkozar ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pyechonest";
|
||||||
|
version = "8.0.2";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "496265f4b7d33483ec153b9e1b8333fe959b115f7e781510089c8313b7d86560";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Tap into The Echo Nest's Musical Brain for the best music search, information, recommendations and remix tools on the web";
|
||||||
|
homepage = https://github.com/echonest/pyechonest;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,24 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, pytest, unzip }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pytest-catchlog";
|
||||||
|
version = "1.2.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1w7wxh27sbqwm4jgwrjr9c2gy384aca5jzw9c0wzhl0pmk2mvqab";
|
||||||
|
extension = "zip";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest unzip ];
|
||||||
|
checkPhase = "make test";
|
||||||
|
|
||||||
|
# Requires pytest < 3.1
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
license = licenses.mit;
|
||||||
|
homepage = https://pypi.python.org/pypi/pytest-catchlog/;
|
||||||
|
description = "py.test plugin to catch log messages. This is a fork of pytest-capturelog.";
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,30 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, pytest, pytest_xdist, virtualenv, process-tests, coverage }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pytest-cov";
|
||||||
|
version = "2.4.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "03c2qc42r4bczyw93gd7n0qi1h1jfhw7fnbhi33c3vp1hs81gm2k";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest pytest_xdist virtualenv process-tests ];
|
||||||
|
propagatedBuildInputs = [ coverage ];
|
||||||
|
|
||||||
|
# xdist related tests fail with the following error
|
||||||
|
# OSError: [Errno 13] Permission denied: 'py/_code'
|
||||||
|
doCheck = false;
|
||||||
|
checkPhase = ''
|
||||||
|
# allow to find the module helper during the test run
|
||||||
|
export PYTHONPATH=$PYTHONPATH:$PWD/tests
|
||||||
|
py.test tests
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Plugin for coverage reporting with support for both centralised and distributed testing, including subprocesses and multiprocessing";
|
||||||
|
homepage = https://github.com/pytest-dev/pytest-cov;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,26 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, pytest, coverage, virtualenv, pytestcov, six }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pytest-fixture-config";
|
||||||
|
version = "1.0.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1dpdf36hpkfhgmca4rwmf0vnzz7xqbiw479v11zp12pq4p5w2z3x";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest ];
|
||||||
|
propagatedBuildInputs = [ coverage virtualenv pytestcov six ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test -k "not test_yield_requires_config_doesnt_skip and not test_yield_requires_config_skips"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Simple configuration objects for Py.test fixtures. Allows you to skip tests when their required config variables aren’t set.";
|
||||||
|
homepage = https://github.com/manahl/pytest-plugins;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ ryansydnor ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, pytestpep8, pytest, pyflakes, pytestcache }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pytest-flakes";
|
||||||
|
version = "1.0.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0flag3n33kbhyjrhzmq990rvg4yb8hhhl0i48q9hw0ll89jp28lw";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytestpep8 pytest ];
|
||||||
|
propagatedBuildInputs = [ pyflakes pytestcache ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test test_flakes.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
license = licenses.mit;
|
||||||
|
homepage = https://pypi.python.org/pypi/pytest-flakes;
|
||||||
|
description = "pytest plugin to check source code with pyflakes";
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,28 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, pytest, pytestcache, pep8 }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pytest-pep8";
|
||||||
|
version = "1.0.6";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "06032agzhw1i9d9qlhfblnl3dw5hcyxhagn7b120zhrszbjzfbh3";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest ];
|
||||||
|
propagatedBuildInputs = [ pytestcache pep8 ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Fails
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
license = licenses.mit;
|
||||||
|
homepage = https://pypi.python.org/pypi/pytest-pep8;
|
||||||
|
description = "pytest plugin to check PEP8 requirements";
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,26 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, py, pytest }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pytest-raisesregexp";
|
||||||
|
version = "2.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0q8yby4g3il86rp7rhk89792wm17cykzsqcwbxpbbyal3an8mphg";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ py pytest ];
|
||||||
|
|
||||||
|
# https://github.com/kissgyorgy/pytest-raisesregexp/pull/3
|
||||||
|
prePatch = ''
|
||||||
|
sed -i '3i\import io' setup.py
|
||||||
|
substituteInPlace setup.py --replace "long_description=open('README.rst').read()," "long_description=io.open('README.rst', encoding='utf-8').read(),"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Simple pytest plugin to look for regex in Exceptions";
|
||||||
|
homepage = https://github.com/Walkman/pytest_raisesregexp;
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,26 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, pytest, setuptools-git, pytest-shutil, pytest-fixture-config, psutil
|
||||||
|
, requests}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pytest-server-fixtures";
|
||||||
|
version = "1.1.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1gs9qimcn8q6xi9d6i5624l0dziwvn6nj2rda07fg15g1cq66s8l";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest ];
|
||||||
|
propagatedBuildInputs = [ setuptools-git pytest-shutil pytest-fixture-config psutil requests ];
|
||||||
|
|
||||||
|
# RuntimeError: Unable to find a free server number to start Xvfb
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Extensible server fixures for py.test";
|
||||||
|
homepage = "https://github.com/manahl/pytest-plugins";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ nand0p ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,27 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, pytest, cmdline, pytestcov, coverage, setuptools-git, mock, pathpy, execnet
|
||||||
|
, contextlib2 }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pytest-shutil";
|
||||||
|
version = "1.2.8";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0gdzarg3l7d80lj0gh9bcsw9r12gmf306n4y2cb18y7kqfpcqjlj";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ cmdline pytest ];
|
||||||
|
propagatedBuildInputs = [ pytestcov coverage setuptools-git mock pathpy execnet contextlib2 ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A goodie-bag of unix shell and environment tools for py.test";
|
||||||
|
homepage = https://github.com/manahl/pytest-plugins;
|
||||||
|
maintainers = with maintainers; [ ryansydnor ];
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, pytest }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pytest-subtesthack";
|
||||||
|
version = "0.1.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "15kzcr5pchf3id4ikdvlv752rc0j4d912n589l4rifp8qsj19l1x";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest ];
|
||||||
|
|
||||||
|
# no upstream test
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Terrible plugin to set up and tear down fixtures within the test function itself";
|
||||||
|
homepage = https://github.com/untitaker/pytest-subtesthack;
|
||||||
|
license = licenses.publicDomain;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,23 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, pytest, pytestcov, mock, cmdline, pytest-fixture-config, pytest-shutil }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pytest-virtualenv";
|
||||||
|
version = "1.2.7";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0mb76zhlak4qjjq2h7kaxbihk1b9plmimbzcb8qv4906cxl69ysi";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest pytestcov mock cmdline ];
|
||||||
|
propagatedBuildInputs = [ pytest-fixture-config pytest-shutil ];
|
||||||
|
checkPhase = '' py.test tests/unit '';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Create a Python virtual environment in your test that cleans up on teardown. The fixture has utility methods to install packages and list what’s installed.";
|
||||||
|
homepage = https://github.com/manahl/pytest-plugins;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ ryansydnor ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,28 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, pytest, execnet }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pytest-cache";
|
||||||
|
version = "1.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1a873fihw4rhshc722j4h6j7g3nj7xpgsna9hhg3zn6ksknnhx5y";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest ];
|
||||||
|
propagatedBuildInputs = [ execnet ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Too many failing tests. Are they maintained?
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
license = licenses.mit;
|
||||||
|
homepage = https://pypi.python.org/pypi/pytest-cache/;
|
||||||
|
description = "pytest plugin with mechanisms for caching across test runs";
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, mock, requests, six, urllib3 }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "requests-cache";
|
||||||
|
version = "0.4.13";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "18jpyivnq5pjbkymk3i473rihpj2bgikafpha7xvr6w736hiqmpy";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ mock ];
|
||||||
|
propagatedBuildInputs = [ requests six urllib3 ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Persistent cache for requests library";
|
||||||
|
homepage = https://pypi.python.org/pypi/requests-cache;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
{ lib, buildPythonPackage, fetchPypi, python
|
||||||
|
, mock, testrepository, testtools
|
||||||
|
, requests, six }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "requests-mock";
|
||||||
|
version = "1.4.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "2931887853c42e1d73879983d5bf03041109472991c5b4b8dba5d11ed23b9d0b";
|
||||||
|
};
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
sed -i 's@python@${python.interpreter}@' .testr.conf
|
||||||
|
'';
|
||||||
|
|
||||||
|
checkInputs = [ mock testrepository testtools ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ requests six ];
|
||||||
|
}
|
|
@ -0,0 +1,16 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, cookies, mock, requests, six }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "responses";
|
||||||
|
version = "0.4.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0fs7a4cf4f12mjhcjd5vfh0f3ixcy2nawzxpgsfr3ahf0rg7ppx5";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ cookies mock requests six ];
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
}
|
|
@ -0,0 +1,26 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, docutils, boto3 }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "s3fs";
|
||||||
|
version = "0.0.8";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0zbdzqrim0zig94fk1hswg4vfdjplw6jpx3pdi42qc830h0nscn8";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ docutils ];
|
||||||
|
propagatedBuildInputs = [ boto3 ];
|
||||||
|
|
||||||
|
# Depends on `moto` which has a long dependency chain with exact
|
||||||
|
# version requirements that can't be made to work with current
|
||||||
|
# pythonPackages.
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "S3FS builds on boto3 to provide a convenient Python filesystem interface for S3.";
|
||||||
|
homepage = http://github.com/dask/s3fs/;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ teh ];
|
||||||
|
};
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue