Merge staging into master
This commit is contained in:
22
pkgs/development/python-modules/Babel/default.nix
Normal file
22
pkgs/development/python-modules/Babel/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pytz, pytest, freezegun }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Babel";
|
||||
version = "2.5.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "8ce4cb6fdd4393edd323227cba3a077bceb2a6ce5201c902c65e730046f41f14";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pytz ];
|
||||
|
||||
checkInputs = [ pytest freezegun ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = http://babel.edgewall.org;
|
||||
description = "A collection of tools for internationalizing Python applications";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ garbas ];
|
||||
};
|
||||
}
|
||||
@@ -13,26 +13,17 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Cython";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.27.3";
|
||||
version = "0.28.1";
|
||||
|
||||
src = fetchPypi {
|
||||
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 = [
|
||||
pkgconfig
|
||||
# For testing
|
||||
];
|
||||
checkInputs = [
|
||||
numpy ncurses
|
||||
];
|
||||
buildInputs = [ glibcLocales gdb ];
|
||||
@@ -46,10 +37,6 @@ buildPythonPackage rec {
|
||||
${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 = {
|
||||
description = "An optimising static compiler for both the Python programming language and the extended Cython programming language";
|
||||
homepage = http://cython.org;
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "JPype1";
|
||||
version = "0.6.2";
|
||||
version = "0.6.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "09bzmnzkjbrf60h39wapxc1l8mb3r9km486cly0mm78bv096884r";
|
||||
sha256 = "6841523631874a731e1f94e1b1f130686ad3772030eaa3b6946256eeb1d10dd1";
|
||||
};
|
||||
|
||||
patches = [ ./set-compiler-language.patch ];
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Nikola";
|
||||
version = "7.8.11";
|
||||
version = "7.8.14";
|
||||
|
||||
# Nix contains only Python 3 supported version of doit, which is a dependency
|
||||
# of Nikola. Python 2 support would require older doit 0.29.0 (which on the
|
||||
@@ -46,7 +46,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "10d95b3af84e61496ef729665eafa2235fd0fd4cc6c57644dd0f2c19a968dd0f";
|
||||
sha256 = "0d838817ac30ac6d4b8139a2adc8b49bed22dbb8fbc6261958d2775e10447d92";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "absl-py";
|
||||
version = "0.1.10";
|
||||
version = "0.1.13";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "908eba9a96a37c10f10074aba57d685070b814906b02a1ea2cf54bb10a6b8c74";
|
||||
sha256 = "d160f7dc39f2f05ddc0bbf3a7bea4cc659fedc45fd9042e87346b24fe1cd00bb";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "adal";
|
||||
version = "0.5.0";
|
||||
version = "0.5.1";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "120821f72ca9d59a7c7197fc14d0e27448ff8d331fae230f92d713b9b5c721f7";
|
||||
sha256 = "dd3ecb2dfb2de9393320d0ed4e6115ed07a6984a28e18adf46499b91d3c3a494";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests pyjwt dateutil ];
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "agate";
|
||||
version = "1.6.0";
|
||||
version = "1.6.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "02pb5jjvzjqfpsa7q12afbk9nqj06xdpw1s7qa6a1bnalikfniqm";
|
||||
sha256 = "c93aaa500b439d71e4a5cf088d0006d2ce2c76f1950960c8843114e5f361dfd3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ discid six parsedatetime
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiohttp-jinja2";
|
||||
version = "0.16.0";
|
||||
version = "0.17.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1ps182yrc5g9ph55927a7ssqx6m9kx0bivfxpaj8sa3znrdkl94d";
|
||||
sha256 = "8139c63fe989e140dceae378440680258dfb72f3301c79173945245299d795e6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ aiohttp jinja2 ];
|
||||
|
||||
@@ -11,20 +11,21 @@
|
||||
, pytest
|
||||
, gunicorn
|
||||
, pytest-mock
|
||||
, async_generator
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiohttp";
|
||||
version = "3.0.9";
|
||||
version = "3.1.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "281a9fa56b5ce587a2147ec285d18a224942f7e020581afa6cc44d7caecf937b";
|
||||
sha256 = "df49fe4452a942e0031174c78917f9926d122d4603bf56bae4591639f2a3dc6a";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
checkInputs = [ pytest gunicorn pytest-mock ];
|
||||
checkInputs = [ pytest gunicorn pytest-mock async_generator ];
|
||||
|
||||
propagatedBuildInputs = [ attrs chardet multidict async-timeout yarl ]
|
||||
++ lib.optional (pythonOlder "3.7") idna-ssl;
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ajpy";
|
||||
version = "0.0.2";
|
||||
version = "0.0.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "740e7daf728ba58dabaf4af2c4305262eb207a6e41791424a146a21396ceb9ad";
|
||||
sha256 = "0a5f62b765f59ffc37e759d3f343de16cd782cc4e9e8be09c73b71dfbe383d9b";
|
||||
};
|
||||
|
||||
# ajpy doesn't have tests
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "alembic";
|
||||
version = "0.9.8";
|
||||
version = "0.9.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "13b8611788acf0d7b617775db5c2ae26554a6d4263c590ef628d448fd05aef56";
|
||||
sha256 = "85bd3ea7633024e4930900bc64fb58f9742dedbc6ebb6ecf25be2ea9a3c1b32e";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest pytestcov mock coverage ];
|
||||
|
||||
20
pkgs/development/python-modules/amqp/default.nix
Normal file
20
pkgs/development/python-modules/amqp/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytest, case, vine }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "amqp";
|
||||
version = "2.2.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "cba1ace9d4ff6049b190d8b7991f9c1006b443a5238021aca96dd6ad2ac9da22";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aniso8601";
|
||||
version = "2.0.1";
|
||||
version = "3.0.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
@@ -16,6 +16,6 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b7215a41e5194a829dc87d1ea5039315be85a6158ba15c8157a284c29fa6808b";
|
||||
sha256 = "7cf068e7aec00edeb21879c2bbda048656c34d281e133a77425be03b352122d8";
|
||||
};
|
||||
}
|
||||
|
||||
15
pkgs/development/python-modules/application/default.nix
Normal file
15
pkgs/development/python-modules/application/default.nix
Normal file
@@ -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 ];
|
||||
}
|
||||
@@ -6,11 +6,11 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "astroid";
|
||||
version = "1.6.1";
|
||||
version = "1.6.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f0a0e386dbca9f93ea9f3ea6f32b37a24720502b7baa9cb17c3976a680d43a06";
|
||||
sha256 = "35cfae47aac19c7b407b7095410e895e836f2285ccf1220336afba744cc4c5f2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ logilab_common six lazy-object-proxy wrapt ]
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "astropy";
|
||||
version = "3.0";
|
||||
version = "3.0.1";
|
||||
|
||||
disabled = !isPy3k; # according to setup.py
|
||||
|
||||
@@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9e0ad19b9d6d227bdf0932bbe64a8c5dd4a47d4ec078586cf24bf9f0c61d9ecf";
|
||||
sha256 = "c35f4433c14ddfcaf2407cc815385f3d85396727e9a1e660cf66a7c4f5dd1067";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pytest numpy ]; # yes it really has pytest in install_requires
|
||||
|
||||
25
pkgs/development/python-modules/async_generator/default.nix
Normal file
25
pkgs/development/python-modules/async_generator/default.nix
Normal file
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "async-timeout";
|
||||
version = "2.0.0";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c17d8ac2d735d59aa62737d76f2787a6c938f5a944ecf768a8c0ab70b0dea566";
|
||||
sha256 = "00cff4d2dce744607335cba84e9929c3165632da2d27970dbc55802a0c7873d0";
|
||||
};
|
||||
|
||||
# Circular dependency on aiohttp
|
||||
|
||||
18
pkgs/development/python-modules/asyncio/default.nix
Normal file
18
pkgs/development/python-modules/asyncio/default.nix
Normal file
@@ -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;
|
||||
};
|
||||
}
|
||||
21
pkgs/development/python-modules/atomiclong/default.nix
Normal file
21
pkgs/development/python-modules/atomiclong/default.nix
Normal file
@@ -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 ];
|
||||
};
|
||||
}
|
||||
17
pkgs/development/python-modules/atomicwrites/default.nix
Normal file
17
pkgs/development/python-modules/atomicwrites/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "atomicwrites";
|
||||
version = "1.1.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "240831ea22da9ab882b551b31d4225591e5e447a68c5e188db5b89ca1d487585";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Atomic file writes on POSIX";
|
||||
homepage = https://pypi.python.org/pypi/atomicwrites;
|
||||
maintainers = with maintainers; [ matthiasbeyer ];
|
||||
};
|
||||
}
|
||||
19
pkgs/development/python-modules/attrdict/default.nix
Normal file
19
pkgs/development/python-modules/attrdict/default.nix
Normal file
@@ -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;
|
||||
};
|
||||
}
|
||||
@@ -6,11 +6,11 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "autobahn";
|
||||
version = "17.9.3";
|
||||
version = "18.3.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/a/${pname}/${name}.tar.gz";
|
||||
sha256 = "206a3a579a580ca3ce2532ac12ec52d447135c9ace7c4bf6065b832a7cff25ba";
|
||||
sha256 = "fc1d38227bb44a453b54cffa48de8b2e6ce48ddc5e97fb5950b0faa27576f385";
|
||||
};
|
||||
|
||||
# Upstream claim python2 support, but tests require pytest-asyncio which
|
||||
|
||||
17
pkgs/development/python-modules/avro/default.nix
Normal file
17
pkgs/development/python-modules/avro/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "avro";
|
||||
version = "1.8.2";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "8f9ee40830b70b5fb52a419711c9c4ad0336443a6fba7335060805f961b04b59";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A serialization and RPC framework";
|
||||
homepage = https://pypi.python.org/pypi/avro/;
|
||||
};
|
||||
}
|
||||
19
pkgs/development/python-modules/avro3k/default.nix
Normal file
19
pkgs/development/python-modules/avro3k/default.nix
Normal file
@@ -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/;
|
||||
};
|
||||
}
|
||||
@@ -4,19 +4,20 @@
|
||||
, jsonpickle
|
||||
, wrapt
|
||||
, requests
|
||||
, future
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aws-xray-sdk";
|
||||
version = "0.95";
|
||||
version = "0.97";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9e7ba8dd08fd2939376c21423376206bff01d0deaea7d7721c6b35921fed1943";
|
||||
sha256 = "43eca57bb48b718ea58968608cfd22f4b9c62c2d904bb08aa2f8afe56eeb9de4";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
jsonpickle wrapt requests
|
||||
jsonpickle wrapt requests future
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
||||
17
pkgs/development/python-modules/babelfish/default.nix
Normal file
17
pkgs/development/python-modules/babelfish/default.nix
Normal file
@@ -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;
|
||||
};
|
||||
}
|
||||
28
pkgs/development/python-modules/backcall/default.nix
Normal file
28
pkgs/development/python-modules/backcall/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "backcall";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "38ecd85be2c1e78f77fd91700c76e14667dc21e2713b63876c0eb901196e01e4";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Specifications for callback functions passed in to an API";
|
||||
homepage = https://github.com/takluyver/backcall;
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
|
||||
}
|
||||
22
pkgs/development/python-modules/batinfo/default.nix
Normal file
22
pkgs/development/python-modules/batinfo/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "batinfo";
|
||||
version = "0.4.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "497e29efc9353ec52e71d43bd040bdfb6d685137ddc2b9143cded4583af572f5";
|
||||
};
|
||||
|
||||
# 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 ];
|
||||
};
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bayespy";
|
||||
version = "0.5.12";
|
||||
version = "0.5.14";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
# Python 2 not supported and not some old Python 3 because MPL doesn't support
|
||||
@@ -13,7 +13,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9609a3e85f88434a47c8263f40567cd24363d0e10d236354630b670fca313c00";
|
||||
sha256 = "129bac6a1c494eedabdd04abf14aac35db176d25db44e27f755c758a18adf03c";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest glibcLocales ];
|
||||
|
||||
22
pkgs/development/python-modules/bcdoc/default.nix
Normal file
22
pkgs/development/python-modules/bcdoc/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, docutils, six }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bcdoc";
|
||||
version = "0.16.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f568c182e06883becf7196f227052435cffd45604700c82362ca77d3427b6202";
|
||||
};
|
||||
|
||||
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";
|
||||
};
|
||||
}
|
||||
48
pkgs/development/python-modules/beancount/default.nix
Normal file
48
pkgs/development/python-modules/beancount/default.nix
Normal file
@@ -0,0 +1,48 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
||||
, beautifulsoup4, bottle, chardet, dateutil
|
||||
, google_api_python_client, lxml, ply, python_magic
|
||||
, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.0.0";
|
||||
pname = "beancount";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0wxwf02d3raglwqsxdsgf89fniakv1m19q825w76k5z004g18y42";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
||||
# Automatic tests cannot be run because it needs to import some local modules for tests.
|
||||
doCheck = false;
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
beautifulsoup4
|
||||
bottle
|
||||
chardet
|
||||
dateutil
|
||||
google_api_python_client
|
||||
lxml
|
||||
ply
|
||||
python_magic
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = http://furius.ca/beancount/;
|
||||
description = "Double-entry bookkeeping computer language";
|
||||
longDescription = ''
|
||||
A double-entry bookkeeping computer language that lets you define
|
||||
financial transaction records in a text file, read them in memory,
|
||||
generate a variety of reports from them, and provides a web interface.
|
||||
'';
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = with stdenv.lib.maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
||||
22
pkgs/development/python-modules/betamax/default.nix
Normal file
22
pkgs/development/python-modules/betamax/default.nix
Normal file
@@ -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 ];
|
||||
};
|
||||
}
|
||||
20
pkgs/development/python-modules/billiard/default.nix
Normal file
20
pkgs/development/python-modules/billiard/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPyPy, pytest, case }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "billiard";
|
||||
version = "3.5.0.3";
|
||||
disabled = isPyPy;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1d7b22bdc47aa52841120fcd22a74ae4fc8c13e9d3935643098184f5788c3ce6";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest case ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/celery/billiard;
|
||||
description = "Python multiprocessing fork with improvements and bugfixes";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "biopython";
|
||||
version = "1.70";
|
||||
version = "1.71";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "4a7c5298f03d1a45523f32bae1fffcff323ea9dce007fb1241af092f5ab2e45b";
|
||||
sha256 = "4f1770a29a5b18fcaca759bbc888083cdde2b301f073439ff640570d4a93e033";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
23
pkgs/development/python-modules/bitbucket-api/default.nix
Normal file
23
pkgs/development/python-modules/bitbucket-api/default.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
||||
, requests_oauthlib, nose, sh }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bitbucket-api";
|
||||
version = "0.5.0";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b541d9d7f234074a74214505aff1846eb21e5dd6d3915139e817d4675d34f4e3";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
23
pkgs/development/python-modules/bitbucket-cli/default.nix
Normal file
23
pkgs/development/python-modules/bitbucket-cli/default.nix
Normal file
@@ -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 ];
|
||||
};
|
||||
}
|
||||
20
pkgs/development/python-modules/bitmath/default.nix
Normal file
20
pkgs/development/python-modules/bitmath/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, progressbar231, progressbar33, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bitmath";
|
||||
version = "1.3.1.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1k8d1wmxqjc8cqzaixpxf45k6dl1kqhblr0g4wyjl0qa18q8wasd";
|
||||
};
|
||||
|
||||
checkInputs = [ (if isPy3k then progressbar33 else progressbar231) mock ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Module for representing and manipulating file sizes with different prefix";
|
||||
homepage = https://github.com/tbielawa/bitmath;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ twey ];
|
||||
};
|
||||
}
|
||||
18
pkgs/development/python-modules/blinker/default.nix
Normal file
18
pkgs/development/python-modules/blinker/default.nix
Normal file
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -34,11 +34,11 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "bokeh";
|
||||
name = "${pname}${version}";
|
||||
version = "0.12.14";
|
||||
version = "0.12.15";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "42abada2e484d2d5b290d14a943e1c3cd7adabd39933b5f074f57b6cf7920a87";
|
||||
sha256 = "2891b883b30107dc610a7e963a21222f1fd096844d157c09db115179cfab6513";
|
||||
};
|
||||
|
||||
disabled = isPyPy;
|
||||
|
||||
@@ -9,12 +9,12 @@ let
|
||||
};
|
||||
setuptools_source = fetchPypi {
|
||||
pname = "setuptools";
|
||||
version = "38.4.1";
|
||||
version = "39.0.1";
|
||||
format = "wheel";
|
||||
sha256 = "22f8bcff5ce7fd1867785701769eaba42b79331d0abf890974a9288787dc015b";
|
||||
sha256 = "8010754433e3211b9cdbbf784b50f30e80bf40fc6b05eb5f865fab83300599b8";
|
||||
};
|
||||
|
||||
# TODO: Shouldn't be necessary anymore for pip > 9.0.1!
|
||||
# TODO: Shouldn't be necessary anymore for pip >= 10!
|
||||
# https://github.com/NixOS/nixpkgs/issues/26392
|
||||
# https://github.com/pypa/setuptools/issues/885
|
||||
pkg_resources = fetchurl {
|
||||
@@ -24,13 +24,13 @@ let
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "pip";
|
||||
version = "9.0.1";
|
||||
version = "9.0.3";
|
||||
name = "${python.libPrefix}-bootstrapped-${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
format = "wheel";
|
||||
sha256 = "690b762c0a8460c303c089d5d0be034fb15a5ea2b75bdf565f40421f542fefb0";
|
||||
sha256 = "c3ede34530e0e0b2381e7363aded78e0c33291654937e7373032fda04e8803e5";
|
||||
};
|
||||
|
||||
unpackPhase = ''
|
||||
@@ -38,7 +38,7 @@ in stdenv.mkDerivation rec {
|
||||
unzip -d $out/${python.sitePackages} $src
|
||||
unzip -d $out/${python.sitePackages} ${setuptools_source}
|
||||
unzip -d $out/${python.sitePackages} ${wheel_source}
|
||||
# TODO: Shouldn't be necessary anymore for pip > 9.0.1!
|
||||
# TODO: Shouldn't be necessary anymore for pip >= 10!
|
||||
cp ${pkg_resources} $out/${python.sitePackages}/pip/_vendor/pkg_resources/__init__.py
|
||||
'';
|
||||
|
||||
|
||||
21
pkgs/development/python-modules/bottle/default.nix
Normal file
21
pkgs/development/python-modules/bottle/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, setuptools }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bottle";
|
||||
version = "0.12.13";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "39b751aee0b167be8dffb63ca81b735bbf1dd0905b3bc42761efedee8f123355";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
31
pkgs/development/python-modules/bugwarrior/default.nix
Normal file
31
pkgs/development/python-modules/bugwarrior/default.nix
Normal file
@@ -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 ];
|
||||
};
|
||||
}
|
||||
30
pkgs/development/python-modules/bugzilla/default.nix
Normal file
30
pkgs/development/python-modules/bugzilla/default.nix
Normal file
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -2,12 +2,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zc.buildout";
|
||||
version = "2.11.1";
|
||||
version = "2.11.2";
|
||||
name = "${pname}-nix-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${pname}-${version}.tar.gz";
|
||||
sha256 = "08017dcd8f4b60b48b7d830da835a9350c07e7f383fa56d45925ab5144400281";
|
||||
sha256 = "e304f3604a4235e896e94ea79230cfb9c0bc54569f04d5c6c4b49cc9dc4fdbf6";
|
||||
};
|
||||
|
||||
patches = [ ./nix.patch ];
|
||||
|
||||
18
pkgs/development/python-modules/buildout/default.nix
Normal file
18
pkgs/development/python-modules/buildout/default.nix
Normal file
@@ -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 ];
|
||||
};
|
||||
}
|
||||
17
pkgs/development/python-modules/bunch/default.nix
Normal file
17
pkgs/development/python-modules/bunch/default.nix
Normal file
@@ -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; [ ];
|
||||
};
|
||||
}
|
||||
28
pkgs/development/python-modules/buttersink/default.nix
Normal file
28
pkgs/development/python-modules/buttersink/default.nix
Normal file
@@ -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;
|
||||
};
|
||||
}
|
||||
25
pkgs/development/python-modules/cairosvg/default.nix
Normal file
25
pkgs/development/python-modules/cairosvg/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
||||
, cairocffi, cssselect2, defusedxml, pillow, tinycss2
|
||||
, pytestrunner, pytestcov, pytest-flake8, pytest-isort }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "CairoSVG";
|
||||
version = "2.1.3";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "e512f555f576b6462b04b585c4ba4c09a43f3a8fec907b60ead21d7d00c550e9";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cairocffi cssselect2 defusedxml pillow tinycss2 ];
|
||||
|
||||
checkInputs = [ pytestrunner pytestcov pytest-flake8 pytest-isort ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://cairosvg.org;
|
||||
license = licenses.lgpl3;
|
||||
description = "SVG converter based on Cairo";
|
||||
};
|
||||
}
|
||||
22
pkgs/development/python-modules/carrot/default.nix
Normal file
22
pkgs/development/python-modules/carrot/default.nix
Normal file
@@ -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";
|
||||
};
|
||||
}
|
||||
20
pkgs/development/python-modules/case/default.nix
Normal file
20
pkgs/development/python-modules/case/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, six, nose, unittest2, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "case";
|
||||
version = "1.5.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "48432b01d91913451c3512c5b90e31b0f348f1074b166a3431085eb70d784fb1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six nose unittest2 mock ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/celery/case;
|
||||
description = "unittests utilities";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
19
pkgs/development/python-modules/cerberus/default.nix
Normal file
19
pkgs/development/python-modules/cerberus/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytestrunner, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Cerberus";
|
||||
version = "1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a5b39090fde3ec3294c9d7030b8eda935b42222160a66a922e0c8aea34cabfdf";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestrunner pytest ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://python-cerberus.org/;
|
||||
description = "Lightweight, extensible schema and data validation tool for Python dictionaries";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "chainer";
|
||||
version = "3.4.0";
|
||||
version = "3.5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b7bcd8fc1a39b3602b4a78a0be6012721ba6c8792c4d14773496a4c6d038f886";
|
||||
sha256 = "d72c1f5ff5f4743b141900d5e50aeb8337a213e553a28012dad4a4d2335bbabb";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
||||
20
pkgs/development/python-modules/check-manifest/default.nix
Normal file
20
pkgs/development/python-modules/check-manifest/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "check-manifest";
|
||||
version = "0.36";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "2bb906a736a0f026cc5fd6c0dab5a481793b3d7a7d70106cca6e238da5f52d84";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
@@ -7,11 +7,11 @@
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "CherryPy";
|
||||
version = "14.0.0";
|
||||
version = "14.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5f5ee020d6547a8d452b3560775ca2374ffe2ff8c0aec1b272e93b6af80d850e";
|
||||
sha256 = "721d09bbeedaf5b3493e9e644ae9285d776ea7f16b1d4a0a5aaec7c0d22e5074";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cheroot portend routes six ];
|
||||
|
||||
16
pkgs/development/python-modules/circus/default.nix
Normal file
16
pkgs/development/python-modules/circus/default.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, iowait, psutil, pyzmq, tornado, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "circus";
|
||||
version = "0.14.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b8ca91d8bd87b350fda199488ac9ddff91a546b0c6214a28a2f13393713cf062";
|
||||
};
|
||||
|
||||
doCheck = false; # weird error
|
||||
|
||||
propagatedBuildInputs = [ iowait psutil pyzmq tornado mock ];
|
||||
}
|
||||
18
pkgs/development/python-modules/cjson/default.nix
Normal file
18
pkgs/development/python-modules/cjson/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, isPyPy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-cjson";
|
||||
version = "1.2.1";
|
||||
disabled = isPy3k || isPyPy;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "52db2745264624768bfd9b604acb38f631bde5c2ec9b23861677d747e4558626";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A very fast JSON encoder/decoder for Python";
|
||||
homepage = http://ag-projects.com/;
|
||||
license = licenses.lgpl2;
|
||||
};
|
||||
}
|
||||
29
pkgs/development/python-modules/clf/default.nix
Normal file
29
pkgs/development/python-modules/clf/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, docopt, requests, pygments }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "clf";
|
||||
version = "0.5.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "abc919a1e99667f32fdde15dfb4bc527dbe22cf86a17acb78a449d7f2dfe937e";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
20
pkgs/development/python-modules/click-log/default.nix
Normal file
20
pkgs/development/python-modules/click-log/default.nix
Normal file
@@ -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; [ ];
|
||||
};
|
||||
}
|
||||
30
pkgs/development/python-modules/click/default.nix
Normal file
30
pkgs/development/python-modules/click/default.nix
Normal file
@@ -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;
|
||||
};
|
||||
}
|
||||
27
pkgs/development/python-modules/cloudpickle/default.nix
Normal file
27
pkgs/development/python-modules/cloudpickle/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pytest, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cloudpickle";
|
||||
version = "0.5.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b0e63dd89ed5285171a570186751bc9b84493675e99e12789e9a5dc5490ef554";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
25
pkgs/development/python-modules/cmarkgfm/default.nix
Normal file
25
pkgs/development/python-modules/cmarkgfm/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, cffi, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cmarkgfm";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "977d7061779c7ebc5cbe7af71adb795ced96058552fe5f6b646d95b5055959be";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cffi ];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Minimal bindings to GitHub's fork of cmark";
|
||||
homepage = https://github.com/jonparrott/cmarkgfm;
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
21
pkgs/development/python-modules/cmdline/default.nix
Normal file
21
pkgs/development/python-modules/cmdline/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pyyaml }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cmdline";
|
||||
version = "0.1.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "324cc8fc6580f221824821c47232c297ed1f7cc737186a57305a8c08fc902dd7";
|
||||
};
|
||||
|
||||
# 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;
|
||||
};
|
||||
}
|
||||
21
pkgs/development/python-modules/cogapp/default.nix
Normal file
21
pkgs/development/python-modules/cogapp/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cogapp";
|
||||
version = "2.5.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f8cf2288fb5a2087eb4a00d8b347ddc86e9058d4ab26b8c868433eb401adfe1c";
|
||||
};
|
||||
|
||||
# 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 ];
|
||||
};
|
||||
}
|
||||
25
pkgs/development/python-modules/coilmq/default.nix
Normal file
25
pkgs/development/python-modules/coilmq/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, stompclient, pythondaemon, redis, pid, pytest, six, click, coverage
|
||||
, sqlalchemy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "CoilMQ";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "4cbfeb5ed2459df14902c1380157be6267702b1271682924cd316ccad8a29d1d";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
20
pkgs/development/python-modules/colorclass/default.nix
Normal file
20
pkgs/development/python-modules/colorclass/default.nix
Normal file
@@ -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";
|
||||
};
|
||||
}
|
||||
19
pkgs/development/python-modules/colour/default.nix
Normal file
19
pkgs/development/python-modules/colour/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, d2to1 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "colour";
|
||||
version = "0.1.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "af20120fefd2afede8b001fbef2ea9da70ad7d49fafdb6489025dae8745c3aee";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
23
pkgs/development/python-modules/configobj/default.nix
Normal file
23
pkgs/development/python-modules/configobj/default.nix
Normal file
@@ -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 ];
|
||||
};
|
||||
}
|
||||
23
pkgs/development/python-modules/configparser/default.nix
Normal file
23
pkgs/development/python-modules/configparser/default.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "configparser";
|
||||
version = "3.5.0";
|
||||
|
||||
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; {
|
||||
};
|
||||
}
|
||||
24
pkgs/development/python-modules/consul/default.nix
Normal file
24
pkgs/development/python-modules/consul/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, requests, six, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-consul";
|
||||
version = "0.7.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "ef0b7c8a2d8efba5f9602f45aadbe5035e22a511d245624ed732af81223a6571";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
14
pkgs/development/python-modules/contexter/default.nix
Normal file
14
pkgs/development/python-modules/contexter/default.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "contexter";
|
||||
version = "0.1.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c730890b1a915051414a6350d8ea1cddca7d01d8f756badedb30b9bf305ea0a8";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
};
|
||||
}
|
||||
34
pkgs/development/python-modules/cookiecutter/default.nix
Normal file
34
pkgs/development/python-modules/cookiecutter/default.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPyPy
|
||||
, pytest, pytestcov, pytest-mock, freezegun
|
||||
, jinja2, future, binaryornot, click, whichcraft, poyo, jinja2_time, requests }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cookiecutter";
|
||||
version = "1.6.0";
|
||||
|
||||
# not sure why this is broken
|
||||
disabled = isPyPy;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1316a52e1c1f08db0c9efbf7d876dbc01463a74b155a0d83e722be88beda9a3e";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestcov pytest-mock freezegun ];
|
||||
propagatedBuildInputs = [
|
||||
jinja2 future binaryornot click whichcraft poyo jinja2_time requests
|
||||
];
|
||||
|
||||
# requires network access for cloning git repos
|
||||
doCheck = false;
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
19
pkgs/development/python-modules/cookies/default.nix
Normal file
19
pkgs/development/python-modules/cookies/default.nix
Normal file
@@ -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;
|
||||
};
|
||||
}
|
||||
17
pkgs/development/python-modules/cov-core/default.nix
Normal file
17
pkgs/development/python-modules/cov-core/default.nix
Normal file
@@ -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";
|
||||
};
|
||||
}
|
||||
@@ -16,12 +16,12 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "coveralls";
|
||||
name = "${pname}-python-${version}";
|
||||
version = "1.2.0";
|
||||
version = "1.3.0";
|
||||
|
||||
# wanted by tests
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "510682001517bcca1def9f6252df6ce730fcb9831c62d9fff7c7d55b6fdabdf3";
|
||||
sha256 = "664794748d2e5673e347ec476159a9d87f43e0d2d44950e98ed0e27b98da8346";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
||||
17
pkgs/development/python-modules/crcmod/default.nix
Normal file
17
pkgs/development/python-modules/crcmod/default.nix
Normal file
@@ -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;
|
||||
};
|
||||
}
|
||||
22
pkgs/development/python-modules/cryptacular/default.nix
Normal file
22
pkgs/development/python-modules/cryptacular/default.nix
Normal file
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -21,7 +21,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "2.1.4";
|
||||
version = "2.2.2";
|
||||
in assert version == cryptography_vectors.version; buildPythonPackage rec {
|
||||
# also bump cryptography_vectors
|
||||
pname = "cryptography";
|
||||
@@ -29,7 +29,7 @@ in assert version == cryptography_vectors.version; buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "e4d967371c5b6b2e67855066471d844c5d52d210c36c28d49a8507b96e2c5291";
|
||||
sha256 = "9fc295bf69130a342e7a19a39d7bbeb15c0bcaabc7382ec33ef3b2b7d18d2f63";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
buildPythonPackage rec {
|
||||
# also bump cryptography
|
||||
pname = "cryptography_vectors";
|
||||
version = "2.1.4";
|
||||
version = "2.2.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "78c4b4f3f84853ea5d038e2f53d355229dd8119fe9cf949c3e497c85c760a5ca";
|
||||
sha256 = "28b52c84bae3a564ce51bfb0753cbe360218bd648c64efa2808c886c18505688";
|
||||
};
|
||||
|
||||
# No tests included
|
||||
|
||||
17
pkgs/development/python-modules/cssselect/default.nix
Normal file
17
pkgs/development/python-modules/cssselect/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cssselect";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "066d8bc5229af09617e24b3ca4d52f1f9092d9e061931f4184cd572885c23204";
|
||||
};
|
||||
|
||||
# AttributeError: 'module' object has no attribute 'tests'
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
};
|
||||
}
|
||||
23
pkgs/development/python-modules/cssselect2/default.nix
Normal file
23
pkgs/development/python-modules/cssselect2/default.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, tinycss2, pytestrunner, pytestcov, pytest-flake8, pytest-isort, glibcLocales }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cssselect2";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "505d2ce3d3a1d390ddb52f7d0864b7efeb115a5b852a91861b498b92424503ab";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ tinycss2 ];
|
||||
|
||||
checkInputs = [ pytestrunner pytestcov pytest-flake8 pytest-isort glibcLocales ];
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
||||
meta = with lib; {
|
||||
description = "CSS selectors for Python ElementTree";
|
||||
homepage = https://github.com/Kozea/cssselect2;
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
22
pkgs/development/python-modules/cssutils/default.nix
Normal file
22
pkgs/development/python-modules/cssutils/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cssutils";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a2fcf06467553038e98fea9cfe36af2bf14063eb147a70958cfcaa8f5786acaf";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "csvkit";
|
||||
version = "1.0.2";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "05vfsba9nwh4islszgs18rq8sjkpzqni0cdwvvkw7pi0r63pz2as";
|
||||
sha256 = "a6c859c1321d4697dc41252877249091681297f093e08d9c1e1828a6d52c260c";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cupy";
|
||||
version = "2.4.0";
|
||||
version = "2.5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "96ac44dface1a73673e9c0549fc897f8fa31a7648ff9963dff799ddabd67fde2";
|
||||
sha256 = "60e36add95b0bc15f0863e7b4a425c00111dab0985075a96ede689510a9c56be";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cx_Oracle";
|
||||
version = "6.1";
|
||||
version = "6.2.1";
|
||||
|
||||
buildInputs = [
|
||||
oracle-instantclient
|
||||
@@ -10,7 +10,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "80545fc7acbdda917dd2b1604c938141256bdfed3ad464a44586c9c2f09c3004";
|
||||
sha256 = "01970bc843b3c699a7fd98af19e0401fe69abfbd2acdf464e0bf2ae06ea372b9";
|
||||
};
|
||||
|
||||
# Check need an Oracle database to run
|
||||
|
||||
@@ -9,12 +9,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cytoolz";
|
||||
version = "0.9.0";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.9.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5ebb55855a8bb7800afa58e52408763935527e0305f35600c71b43c86013dec2";
|
||||
sha256 = "84cc06fa40aa310f2df79dd440fc5f84c3e20f01f9f7783fc9c38d0a11ba00e5";
|
||||
};
|
||||
|
||||
# Extension types
|
||||
@@ -23,12 +22,6 @@ buildPythonPackage rec {
|
||||
checkInputs = [ nose ];
|
||||
propagatedBuildInputs = [ toolz ];
|
||||
|
||||
# File as accidentally included in release
|
||||
# See https://github.com/pytoolz/cytoolz/issues/116#issuecomment-355770073
|
||||
postPatch = ''
|
||||
rm cytoolz/tests/test_curried_doctests.py
|
||||
'';
|
||||
|
||||
# Disable failing test https://github.com/pytoolz/cytoolz/issues/97
|
||||
checkPhase = ''
|
||||
NOSE_EXCLUDE=test_curried_exceptions nosetests -v $out/${python.sitePackages}
|
||||
|
||||
29
pkgs/development/python-modules/darcsver/default.nix
Normal file
29
pkgs/development/python-modules/darcsver/default.nix
Normal file
@@ -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";
|
||||
};
|
||||
}
|
||||
@@ -12,12 +12,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dask";
|
||||
version = "0.17.1";
|
||||
version = "0.17.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0a6aec8b3489419c97486afd46e30b63caafc642205726a884b7fe488906d359";
|
||||
sha256 = "27e470b8cfdd0516189e641b1213fceec0ddc4f37ead1fbce733d3381134fccd";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
27
pkgs/development/python-modules/datadog/default.nix
Normal file
27
pkgs/development/python-modules/datadog/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
|
||||
, decorator, requests, simplejson
|
||||
, nose, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "datadog";
|
||||
version = "0.20.0";
|
||||
|
||||
# no tests in PyPI tarball
|
||||
# https://github.com/DataDog/datadogpy/pull/259
|
||||
src = fetchFromGitHub {
|
||||
owner = "DataDog";
|
||||
repo = "datadogpy";
|
||||
rev = "v${version}";
|
||||
sha256 = "1p4p14853yrsl8py4ca7za7a12qzw0xwgz64f5kzx8a6vpv3p3md";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ decorator requests simplejson ];
|
||||
|
||||
checkInputs = [ nose mock ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "The Datadog Python library";
|
||||
license = licenses.bsd3;
|
||||
homepage = https://github.com/DataDog/datadogpy;
|
||||
};
|
||||
}
|
||||
20
pkgs/development/python-modules/dateutil/1_5.nix
Normal file
20
pkgs/development/python-modules/dateutil/1_5.nix
Normal file
@@ -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";
|
||||
};
|
||||
}
|
||||
21
pkgs/development/python-modules/datrie/default.nix
Normal file
21
pkgs/development/python-modules/datrie/default.nix
Normal file
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dbf";
|
||||
version = "0.96.8";
|
||||
version = "0.97.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1z8n7s4cka6x9ybh4qpfhj51v2qrk38h2f06npizzhm0hmn6r3v1";
|
||||
sha256 = "b4c5165d29f6ca893797974aa9f228d2ad39aa864c166ce5bcb89c636489c8e6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ aenum ] ++ stdenv.lib.optional (pythonOlder "3.4") [ enum34 ];
|
||||
|
||||
14
pkgs/development/python-modules/debian/default.nix
Normal file
14
pkgs/development/python-modules/debian/default.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, chardet, six}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-debian";
|
||||
version = "0.1.32";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "143887ac647ad30819f289f5a4ca13b77e56df27b686b84c34669447f7591280";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ chardet six ];
|
||||
}
|
||||
11
pkgs/development/python-modules/defusedxml/default.nix
Normal file
11
pkgs/development/python-modules/defusedxml/default.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "defusedxml";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1x54n0h8hl92vvwyymx883fbqpqjwn2mc8fb383bcg3z9zwz5mr4";
|
||||
};
|
||||
}
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "deluge-client";
|
||||
version = "1.2.0";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "048zfidv08sr4hivdd3xxf1pywhqbnszj5qcn51h2f4y1588fhpf";
|
||||
sha256 = "27a7f4c6da8f057e03171a493f17340f39f288199a21beb3226a188ab3c02cea";
|
||||
};
|
||||
|
||||
# it will try to connect to a running instance
|
||||
|
||||
19
pkgs/development/python-modules/derpconf/default.nix
Normal file
19
pkgs/development/python-modules/derpconf/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, six }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "derpconf";
|
||||
version = "0.8.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "ce4f0cd55d367a3357538a18422c916dced0617a00056b4ebabe775059eace4f";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "derpconf abstracts loading configuration files for your app";
|
||||
homepage = https://github.com/globocom/derpconf;
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
27
pkgs/development/python-modules/detox/default.nix
Normal file
27
pkgs/development/python-modules/detox/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, pytest, tox, py, eventlet }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "detox";
|
||||
version = "0.11";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "4719ca48c4ea5ffd908b1bc3d5d1b593b41e71dee17180d58d8a3e7e8f588d45";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
23
pkgs/development/python-modules/digitalocean/default.nix
Normal file
23
pkgs/development/python-modules/digitalocean/default.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, requests }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-digitalocean";
|
||||
version = "1.13.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "06391cf0b253c8b4a5a10b3a4b7b7808b890a1d1e3b43d5ce3b5293a9c77af6b";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
@@ -7,13 +7,13 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "Django";
|
||||
name = "${pname}-${version}";
|
||||
version = "2.0.2";
|
||||
version = "2.0.4";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "dc3b61d054f1bced64628c62025d480f655303aea9f408e5996c339a543b45f0";
|
||||
sha256 = "d81a1652963c81488e709729a80b510394050e312f386037f26b54912a3a10d0";
|
||||
};
|
||||
|
||||
patches = stdenv.lib.optionals withGdal [
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
mock, django, redis, msgpack }:
|
||||
buildPythonPackage rec {
|
||||
pname = "django-redis";
|
||||
version = "4.8.0";
|
||||
version = "4.9.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5229da5b07ccb8d3e3e9ee098c0b7c03e20eba48634bc456697dd73d62c68b19";
|
||||
sha256 = "15b47faef6aefaa3f47135a2aeb67372da300e4a4cf06809c66ab392686a2155";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user