Merge remote-tracking branch 'upstream/master' into openssl-1.1
This commit is contained in:
@@ -20,11 +20,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "APScheduler";
|
||||
version = "3.6.0";
|
||||
version = "3.6.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0q22lgp001hkk4z4xs2b2hlix84ka15i576p33fmgp69zn4bhmlg";
|
||||
sha256 = "1c56066rx09xk1zbd156whsynlakxazqq64i509id17015wzp6jj";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
||||
@@ -1,33 +1,29 @@
|
||||
{ pkgs
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, invoke
|
||||
, paramiko
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, cryptography
|
||||
, pytest
|
||||
, invoke
|
||||
, mock
|
||||
, paramiko
|
||||
, pytest
|
||||
, pytest-relaxed
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fabric";
|
||||
version = "2.4.0";
|
||||
version = "2.5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "93684ceaac92e0b78faae551297e29c48370cede12ff0f853cdebf67d4b87068";
|
||||
sha256 = "19nzdibjfndzcwvby20p59igqwyzw7skrb45v2mxqsjma5yjv114";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ invoke paramiko cryptography ];
|
||||
checkInputs = [ pytest mock pytest-relaxed ];
|
||||
|
||||
# ignore subprocess main errors (1) due to hardcoded /bin/bash
|
||||
checkPhase = ''
|
||||
rm tests/main.py
|
||||
pytest tests
|
||||
'';
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
meta = with lib; {
|
||||
description = "Pythonic remote execution";
|
||||
homepage = https://www.fabfile.org/;
|
||||
license = licenses.bsd2;
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Wand";
|
||||
version = "0.5.5";
|
||||
version = "0.5.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1qjwqshcrfsa2a0j9bk0w01y857idzic1bj202p9cpar3xsjjw69";
|
||||
sha256 = "126gpx6zj7fpx87v1qgicpfdahmmkqqmd2a8abllq0jlckrmjsyh";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
32
pkgs/development/python-modules/aiosmtpd/default.nix
Normal file
32
pkgs/development/python-modules/aiosmtpd/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ lib, isPy3k, fetchPypi, buildPythonPackage
|
||||
, atpublic }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiosmtpd";
|
||||
version = "1.2";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1xdfk741pjmz1cm8dsi4n5vq4517i175rm94696m3f7kcgk7xsmp";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
atpublic
|
||||
];
|
||||
|
||||
# Tests need network access
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://aiosmtpd.readthedocs.io/en/latest/;
|
||||
description = "Asyncio based SMTP server";
|
||||
longDescription = ''
|
||||
This is a server for SMTP and related protocols, similar in utility to the
|
||||
standard library's smtpd.py module, but rewritten to be based on asyncio for
|
||||
Python 3.
|
||||
'';
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ eadwu ];
|
||||
};
|
||||
}
|
||||
@@ -1,30 +1,52 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, pytest, jinja2, sphinx, vega_datasets, ipython, glibcLocales
|
||||
, entrypoints, jsonschema, numpy, pandas, six, toolz, typing
|
||||
, pythonOlder, recommonmark }:
|
||||
, entrypoints
|
||||
, glibcLocales
|
||||
, ipython
|
||||
, jinja2
|
||||
, jsonschema
|
||||
, numpy
|
||||
, pandas
|
||||
, pytest
|
||||
, pythonOlder
|
||||
, recommonmark
|
||||
, six
|
||||
, sphinx
|
||||
, toolz
|
||||
, typing
|
||||
, vega_datasets
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "altair";
|
||||
version = "3.1.0";
|
||||
version = "3.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1zdznkybw3g8fd280h5j5cnnwcv30610gp8fl8vwqda1w2p6pgvp";
|
||||
sha256 = "098macm0sw54xqijdy1c8cppcgw79wn52qdc71qqb51nibc17gls";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Tests require network
|
||||
rm altair/examples/boxplot_max_min.py altair/examples/line_percent.py
|
||||
'';
|
||||
propagatedBuildInputs = [
|
||||
entrypoints
|
||||
jsonschema
|
||||
numpy
|
||||
pandas
|
||||
six
|
||||
toolz
|
||||
] ++ stdenv.lib.optionals (pythonOlder "3.5") [ typing ];
|
||||
|
||||
checkInputs = [ pytest jinja2 sphinx vega_datasets ipython glibcLocales recommonmark ];
|
||||
|
||||
propagatedBuildInputs = [ entrypoints jsonschema numpy pandas six toolz ]
|
||||
++ stdenv.lib.optionals (pythonOlder "3.5") [ typing ];
|
||||
checkInputs = [
|
||||
glibcLocales
|
||||
ipython
|
||||
jinja2
|
||||
pytest
|
||||
recommonmark
|
||||
sphinx
|
||||
vega_datasets
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
export LANG=en_US.UTF-8
|
||||
py.test altair --doctest-modules
|
||||
pytest --doctest-modules altair
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, Babel, decorator, requests, requests_oauthlib, oauthlib, urllib3, six, click, markdown, pyyaml
|
||||
, Babel, decorator, requests, requests_oauthlib, six, click, markdown, pyyaml
|
||||
, pytestrunner, coverage, flake8, mock, pytest, pytestcov, tox
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "apprise";
|
||||
version = "0.7.8";
|
||||
version = "0.7.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "15xv7lhivjhgsaw5j30w1fkk8y33r8nkr2hwp8z1jmsxhdv9l03y";
|
||||
sha256 = "0zqnk255d311ibird08sv0c21fw1r1xhldhyx5lnl3ji1xkv9173";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ Babel ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
decorator requests requests_oauthlib oauthlib urllib3 six click markdown pyyaml
|
||||
decorator requests requests_oauthlib six click markdown pyyaml
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
|
||||
36
pkgs/development/python-modules/ase/3.17.nix
Normal file
36
pkgs/development/python-modules/ase/3.17.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, numpy
|
||||
, scipy
|
||||
, matplotlib
|
||||
, flask
|
||||
, pillow
|
||||
, psycopg2
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ase";
|
||||
version = "3.17.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1d4gxypaahby45zcpl0rffcn2z7n55dg9lcd8sv6jjsmbbf9vr4g";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy scipy matplotlib flask pillow psycopg2 ];
|
||||
|
||||
checkPhase = ''
|
||||
$out/bin/ase test
|
||||
'';
|
||||
|
||||
# tests just hang most likely due to something with subprocesses and cli
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Atomic Simulation Environment";
|
||||
homepage = https://wiki.fysik.dtu.dk/ase/;
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, isPy27
|
||||
, numpy
|
||||
, scipy
|
||||
, matplotlib
|
||||
@@ -11,11 +12,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ase";
|
||||
version = "3.17.0";
|
||||
version = "3.18.0";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1d4gxypaahby45zcpl0rffcn2z7n55dg9lcd8sv6jjsmbbf9vr4g";
|
||||
sha256 = "1ycp1yksysiiz902gn762030sfmirxm950pwpw2rcrpjvq95zm1r";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy scipy matplotlib flask pillow psycopg2 ];
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, async-timeout, pytest, pytest-asyncio }:
|
||||
buildPythonPackage rec {
|
||||
version = "3.1.4";
|
||||
version = "3.2.1";
|
||||
pname = "asgiref";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
@@ -10,7 +10,7 @@ buildPythonPackage rec {
|
||||
owner = "django";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0rmasjrvf083c7855xnggy251gm8vaxyv970b2rd6198h8s3rldh";
|
||||
sha256 = "16wb137dvnjmbmshy4r9vgsfjc4g8d6l527aj9d5vszyk5x5fm7d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ async-timeout ];
|
||||
|
||||
38
pkgs/development/python-modules/asyncpg/default.nix
Normal file
38
pkgs/development/python-modules/asyncpg/default.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{ lib, isPy3k, fetchPypi, fetchpatch, buildPythonPackage
|
||||
, uvloop, postgresql }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asyncpg";
|
||||
version = "0.18.3";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0rrch478ww6ipmh3617sb2jzwsq4w7pjcck869p35zb0mk5fr9aq";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/MagicStack/asyncpg/commit/aaeb7076e5acb045880b46155014c0640624797e.patch";
|
||||
sha256 = "0r6g6pvb39vzci8g67mv9rlrvavqvfz6vlv8988wv53bpz1mss3p";
|
||||
})
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
uvloop
|
||||
postgresql
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://github.com/MagicStack/asyncpg;
|
||||
description = "An asyncio PosgtreSQL driver";
|
||||
longDescription = ''
|
||||
Asyncpg is a database interface library designed specifically for
|
||||
PostgreSQL and Python/asyncio. asyncpg is an efficient, clean
|
||||
implementation of PostgreSQL server binary protocol for use with Python’s
|
||||
asyncio framework.
|
||||
'';
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ eadwu ];
|
||||
};
|
||||
}
|
||||
@@ -5,12 +5,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asyncssh";
|
||||
version = "1.17.0";
|
||||
version = "1.17.1";
|
||||
disabled = pythonOlder "3.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1qrpkdyl77956qg6g7g66bbd6bfvb2nwi2sjy3v3li8m3irx8d7d";
|
||||
sha256 = "0gyqms4zs9j9k7dgy24va4w42vf20x75yx9jvsds0sg42mqlkd5v";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
38
pkgs/development/python-modules/atpublic/default.nix
Normal file
38
pkgs/development/python-modules/atpublic/default.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{ lib, isPy3k, fetchPypi, buildPythonPackage
|
||||
, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "atpublic";
|
||||
version = "1.0";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0i3sbxkdlbb4560rrlmwwd5y4ps7k73lp4d8wnmd7ag9k426gjkx";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest --pyargs public
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://public.readthedocs.io/en/latest/;
|
||||
description = "A decorator and function which populates a module's __all__ and globals";
|
||||
longDescription = ''
|
||||
This is a very simple decorator and function which populates a module's
|
||||
__all__ and optionally the module globals.
|
||||
|
||||
This provides both a pure-Python implementation and a C implementation. It is
|
||||
proposed that the C implementation be added to builtins_ for Python 3.6.
|
||||
|
||||
This proposal seems to have been rejected, for more information see
|
||||
https://bugs.python.org/issue26632.
|
||||
'';
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ eadwu ];
|
||||
};
|
||||
}
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "authres";
|
||||
version = "1.1.1";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0bxclx021zn4hhrpaw5fl61bhnf17yqjd0pvwxqfqwdkxdjpx37b";
|
||||
sha256 = "1dr5zpqnb54h4f5ax8334l1dcp8j9083d7v4vdi1xqkwmnavklck";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "awkward";
|
||||
version = "0.11.1";
|
||||
version = "0.12.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "07m797jc5lpaj6m8469d67l2s43jf8w0mfhy0hfvbfs4mk0cjix0";
|
||||
sha256 = "0xvphwpa1n5q7kim4dw6fmsg9h5kkk7nd51bv9b36i3n4hilmq32";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-batch";
|
||||
version = "6.0.1";
|
||||
version = "7.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "d5b0de3db0058cd69baf30e059874094abf865e24ccd82e3cd25f3a48b9676d1";
|
||||
sha256 = "1q8mdjdbz408z2j0y1zxqg9zg8j1v84p0dnh621vq73a2x1g298j";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -33,11 +33,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-cli-core";
|
||||
version = "2.0.69";
|
||||
version = "2.0.71";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "797c4fab2285aa2ac316daf692c1e8f6b14186c059805e8a57332b4d83d7bb23";
|
||||
sha256 = "01pqdh16l2c9a6b1az9galmm1szvhg7fyf9shq872wanw1xx88dj";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.61.0";
|
||||
version = "0.61.1";
|
||||
pname = "azure-graphrbac";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "4ab27db29d730e4d35f420466500f8ee60a26a8151dbd121a6c353ccd9d4ee55";
|
||||
sha256 = "1qmjhpqw0sgy406ij5xyzkffisjah9m1pfz9x54v66bwrbi8msak";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-authorization";
|
||||
version = "0.51.1";
|
||||
version = "0.52.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "d2789e21c6b85591b38d5d4e9b835b6546824c14e14aaa366da0ef50a95d2478";
|
||||
sha256 = "0357laxgldb7lvvws81r8xb6mrq9dwwnr1bnwdnyj4bw6p21i9hn";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-containerinstance";
|
||||
version = "1.4.1";
|
||||
version = "1.5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "87919f3e618ec0a40fd163d763113eef908e78c50d8b76bf4dd795444cb069fd";
|
||||
sha256 = "1kd8lxm5kzk0wxbw1f3vin10hlhb4sygrxqd5c8k715s0ipkhmdh";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-cosmosdb";
|
||||
version = "0.6.0";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "0g4znanx540p983gzr55z0n0jyzfnzmnzlshl92hm4gldwjdd91d";
|
||||
sha256 = "1d9xzf9ydlhwlsk7ij64ji1r2j0l7bwaykwngcy5lh8sdxax305r";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-datamigration";
|
||||
version = "2.1.0";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "49e6e68093e2d647c1c54a4027dee5b1d57f7e7c21480ae386c55cb3d5fa14bc";
|
||||
sha256 = "0bixyya9afas0sv2wji7ivfi64z4dvv8p1gjnppibi5zas1mb4zw";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -11,12 +11,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-dns";
|
||||
version = "2.1.0";
|
||||
version = "3.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "3730b1b3f545a5aa43c0fff07418b362a789eb7d81286e2bed90ffef88bfa5d0";
|
||||
sha256 = "0zxkcczf01b64qfwj98jqdvnwqahygcyccf37rcxpdcfgpkg9kbf";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-eventgrid";
|
||||
version = "2.0.0";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "9a1da1085d39163b13dee14215b02f18eab93ede10ffe83dc6030ecf2163d2f1";
|
||||
sha256 = "1hqwcl33r98lriz3fp6h8ir36bv9danx27290idv63fj7s95h866";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-eventhub";
|
||||
version = "2.6.0";
|
||||
version = "3.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "1nnp2ki4iz4f4897psmwb0v5khrwh84fgxja7nl7g73g3ym20sz8";
|
||||
sha256 = "05c6isg13dslds94kv28v6navxj4bp4c5lsd9df0g3ndsxvpdrxp";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-keyvault";
|
||||
version = "1.1.0";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "05a15327a922441d2ba32add50a35c7f1b9225727cbdd3eeb98bc656e4684099";
|
||||
sha256 = "057ii54h8yr7rhfnbl0r29xbsg7mhf031hjffmdv0zf93552kmja";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-monitor";
|
||||
version = "0.6.0";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "5a804dae2c3e31bfd6f1b0482d49761b9a56f7eefa9b190cd76ef5fe1d504ef2";
|
||||
sha256 = "1pprvk5255b6brbw73g0g13zygwa7a2px5x08wy3153rqlzan5l2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.7.0";
|
||||
version = "4.0.0";
|
||||
pname = "azure-mgmt-network";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "04z9f0nd2nh5miw81qahqrrz998l4yd328qcyx7bxg42a5f5v5jp";
|
||||
sha256 = "0h2lnigmh2arq0ppwjk8h9rqxplj6s7h7qxwyv7wirk0ydx6cfd9";
|
||||
};
|
||||
|
||||
postInstall = if isPy3k then "" else ''
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-rdbms";
|
||||
version = "1.8.0";
|
||||
version = "1.9.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "40abbe4f9c59d7906594ceed067d0e7d09fef44be0d16aded5d5717f1a8aa5ea";
|
||||
sha256 = "0v91hl936wp9sl3bc31svf6kdxwa57qh6ih9rrv43dnb2000km6r";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-recoveryservicesbackup";
|
||||
version = "0.3.0";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "1e55b6cbb808df83576cef352ba0065f4878fe505299c0a4c5a97f4f1e5793df";
|
||||
sha256 = "0zssvzdip23yzaxlac9rlzg9mlyjl97fwr0gj8y27z8j58pwj72i";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.1.0";
|
||||
version = "2.2.0";
|
||||
pname = "azure-mgmt-resource";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "aef8573066026db04ed3e7c5e727904e42f6462b6421c2e8a3646e4c4f8128be";
|
||||
sha256 = "173pxgly95dwblp4nj4l70zb0gasibgcjmcynxwa5282plynhgdw";
|
||||
};
|
||||
|
||||
postInstall = if isPy3k then "" else ''
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-search";
|
||||
version = "2.0.0";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "0ec5de861bd786bcb8691322feed6e6caa8d2f0806a50dc0ca5d640591926893";
|
||||
sha256 = "0085c7qi9z1ayxd8683ck79nfnldkrwl481hzav84flyg8d0m94j";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-servicefabric";
|
||||
version = "0.2.0";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "b2bf2279b8ff8450c35e78e226231655021482fdbda27db09975ebfc983398ad";
|
||||
sha256 = "0cirsp8wnsswba6gbmw4s2ljsjwi3855my063gvi2mqr55spvx2n";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-signalr";
|
||||
version = "0.1.1";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "8a6266a59a5c69102e274806ccad3ac74b06fd2c226e16426bbe248fc2174903";
|
||||
sha256 = "0k39hf6r2rfy2wyxd9czha2mwmcqf6sc1v69jyh6ml3slbliivlz";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "3.3.0";
|
||||
version = "4.0.0";
|
||||
pname = "azure-mgmt-storage";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "1kffay8hr8h3hf78wb1kisvffpwxsxy6lixbgh9dbv0p781sgyh6";
|
||||
sha256 = "1kxd30s2axn3g4qx3v7q3d5l744a29xlfk3q06ra0rqm1p6prvgv";
|
||||
};
|
||||
|
||||
postInstall = if isPy3k then "" else ''
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-web";
|
||||
version = "0.41.0";
|
||||
version = "0.42.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "5f170f25c72119ff4b4e2f39d46ce21bdb2f399f786ea24eedc15c12cfba3054";
|
||||
sha256 = "0vp40i9aaw5ycz7s7qqir6jq7327f7zg9j9i8g31qkfl1h1c7pdn";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "betamax-serializers";
|
||||
version = "0.2.0";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1yqzwx204m4lxlpg04cwv6iwzmcpdzr19wvj97vvxchp0g4qg83d";
|
||||
sha256 = "0ja9isbjmzzhxdj69s0kdsvw8nkp073w6an6a4liy5vk3fdl2p1l";
|
||||
};
|
||||
|
||||
buildInputs = [ betamax pyyaml ];
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "biopython";
|
||||
version = "1.73";
|
||||
version = "1.74";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1q55jhf76z3k6is3psis0ckbki7df26x7dikpcc3vhk1vhkwribh";
|
||||
sha256 = "1h4hcpx1vqrcddpcznyxy14zzvy2yanlkz0117w5n869w8djq595";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "boltons";
|
||||
version = "2019-01-07";
|
||||
version = "19.1.0";
|
||||
|
||||
# No tests in PyPi Tarball
|
||||
src = fetchFromGitHub {
|
||||
owner = "mahmoud";
|
||||
repo = "boltons";
|
||||
rev = "3584ac9399f227a2a11b74153140ee171fd49783";
|
||||
sha256 = "13xngjw249sk4vmr5kqqnia0npw0kpa0gm020a4dqid0cjyvj0rv";
|
||||
rev = version;
|
||||
sha256 = "0b55wly0ksviyl3a4dmih9vzd7bj3p10gr6la4722cs9cx4128q5";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
@@ -14,16 +14,16 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "19.1.1";
|
||||
version = "19.7.3";
|
||||
pname = "BoltzTraP2";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "81e8a5ef8240c6a2205463fa7bc643b8033125237927f5492dab0b5d1aadb35a";
|
||||
sha256 = "1hambr925ml2v2zcxnmnpi39395gl2928yac4p2kghk9xicymraw";
|
||||
};
|
||||
|
||||
buildInputs = [ cython cmake ];
|
||||
nativeBuildInputs = [ cmake cython ];
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ spglib numpy scipy matplotlib ase netcdf4 ];
|
||||
|
||||
|
||||
21
pkgs/development/python-modules/boolean-py/default.nix
Normal file
21
pkgs/development/python-modules/boolean-py/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "boolean.py";
|
||||
version = "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bastikr";
|
||||
repo = "boolean.py";
|
||||
rev = "v${version}";
|
||||
sha256 = "1wc89y73va58cj7dsx6c199zpxsy9q53dsffsdj6zmc90inqz6qs";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/bastikr/boolean.py";
|
||||
description = "Implements boolean algebra in one module";
|
||||
license = licenses.bsd2;
|
||||
};
|
||||
|
||||
}
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "braintree";
|
||||
version = "3.55.0";
|
||||
version = "3.56.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0l3i0ayzykrsraqf87z4h39qm3kxyfwrm09n81gnkvsn2126izsd";
|
||||
sha256 = "1d1xv7b4s68yfa3snnvcjldj0q7v1izpyvqkv2c1k0w73hl657b5";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "BTrees";
|
||||
version = "4.5.1";
|
||||
version = "4.6.0";
|
||||
|
||||
buildInputs = [ transaction ];
|
||||
propagatedBuildInputs = [ persistent zope_interface ];
|
||||
@@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "dcc096c3cf92efd6b9365951f89118fd30bc209c9af83bf050a28151a9992786";
|
||||
sha256 = "0bmkpg6z5z47p21340nyrfbdv2jkfp80yv085ndgbwaas1zi7ac9";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
sqlalchemy_migrate, dateutil, txaio, autobahn, pyjwt, pyyaml, treq,
|
||||
txrequests, pyjade, boto3, moto, mock, python-lz4, setuptoolsTrial,
|
||||
isort, pylint, flake8, buildbot-worker, buildbot-pkg, parameterized,
|
||||
glibcLocales }:
|
||||
git, glibcLocales }:
|
||||
|
||||
let
|
||||
withPlugins = plugins: buildPythonPackage {
|
||||
@@ -25,11 +25,11 @@ let
|
||||
|
||||
package = buildPythonPackage rec {
|
||||
pname = "buildbot";
|
||||
version = "2.3.1";
|
||||
version = "2.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0qzr6my8zvaj0a1jwyaf254rdgm1xcyq8zp4b6fa5aqigfld4dfg";
|
||||
sha256 = "141ad2g1j5y0n5cdnd18m55ss0gqjlz5ky85rb6qfn73dgw42vmz";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -37,7 +37,6 @@ let
|
||||
twisted
|
||||
jinja2
|
||||
zope_interface
|
||||
future
|
||||
sqlalchemy
|
||||
sqlalchemy_migrate
|
||||
dateutil
|
||||
@@ -65,6 +64,7 @@ let
|
||||
buildbot-worker
|
||||
buildbot-pkg
|
||||
parameterized
|
||||
git
|
||||
glibcLocales
|
||||
];
|
||||
|
||||
@@ -95,7 +95,7 @@ let
|
||||
meta = with lib; {
|
||||
homepage = http://buildbot.net/;
|
||||
description = "Buildbot is an open-source continuous integration framework for automating software build, test, and release processes";
|
||||
maintainers = with maintainers; [ nand0p ryansydnor ];
|
||||
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "buildbot-pkg";
|
||||
version = "2.3.1";
|
||||
version = "2.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0bpqiih15b5kzx1r542m8j7ydbnmgzhdnkaxv0z7gjv21k78m5i5";
|
||||
sha256 = "0na336jwibgbix8fr4jki1gqys44kkm0a8q32llcr2z08igs4mvy";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
homepage = http://buildbot.net/;
|
||||
description = "Buildbot Packaging Helper";
|
||||
maintainers = with maintainers; [ nand0p ryansydnor ];
|
||||
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,23 +1,21 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, buildbot, buildbot-pkg }:
|
||||
{ lib, buildPythonPackage, fetchPypi, buildbot, buildbot-pkg, mock }:
|
||||
|
||||
{
|
||||
www = buildPythonPackage rec {
|
||||
pname = "buildbot_www";
|
||||
pname = "buildbot-www";
|
||||
inherit (buildbot-pkg) version;
|
||||
|
||||
# NOTE: wheel is used due to buildbot circular dependency
|
||||
format = "wheel";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version format;
|
||||
python = "py3";
|
||||
sha256 = "1ii01py78wkda9x4lqm0bxqmb4dhvbdmmz7sncm1lw7bhmhqh84w";
|
||||
inherit pname version;
|
||||
sha256 = "0g3m5z8yska245r1x9n85b4br8b63i4zca2qn3qspf62b1wzmxmd";
|
||||
};
|
||||
|
||||
buildInputs = [ buildbot buildbot-pkg mock ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = http://buildbot.net/;
|
||||
description = "Buildbot UI";
|
||||
maintainers = with maintainers; [ nand0p ryansydnor ];
|
||||
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
};
|
||||
@@ -28,16 +26,16 @@
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1y523hadw3398jwfpmi2f4g0s6dp9y191qzycrsbvbj147dp0qra";
|
||||
sha256 = "0p7az9mb09c4bl0j37w28wflzygq9vy8rjbbnhlfbs6py6mjdagr";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ buildbot-pkg ];
|
||||
buildInputs = [ buildbot-pkg ];
|
||||
checkInputs = [ buildbot ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = http://buildbot.net/;
|
||||
description = "Buildbot Console View Plugin";
|
||||
maintainers = with maintainers; [ nand0p ryansydnor ];
|
||||
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
};
|
||||
@@ -48,16 +46,16 @@
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1prfr03igcmagydvxqhrh6k6wz16vk6fwgrm143jh3xmml6f16ll";
|
||||
sha256 = "0ba0a7q7ii7sipvifxs9ldkcs4b975skndarmirbphc797993hj1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ buildbot-pkg ];
|
||||
buildInputs = [ buildbot-pkg ];
|
||||
checkInputs = [ buildbot ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = http://buildbot.net/;
|
||||
description = "Buildbot Waterfall View Plugin";
|
||||
maintainers = with maintainers; [ nand0p ryansydnor ];
|
||||
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
};
|
||||
@@ -68,16 +66,16 @@
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1xkqiwxjppyns2s0239zzvbnr8b7vdakypj95mca89mmnyniflxj";
|
||||
sha256 = "0dvchhjzmfbbrxqm8dlmwck22z99pgnflxk3cyn0wbb1qskhd9cv";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ buildbot-pkg ];
|
||||
buildInputs = [ buildbot-pkg ];
|
||||
checkInputs = [ buildbot ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = http://buildbot.net/;
|
||||
description = "Buildbot Grid View Plugin";
|
||||
maintainers = with maintainers; [ nand0p ];
|
||||
maintainers = with maintainers; [ nand0p lopsided98 ];
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
};
|
||||
@@ -88,16 +86,16 @@
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1jhvq61x0bzh03nd2ac11swdjn0ndnx3ac7x9v3m3v0pgr08rc28";
|
||||
sha256 = "0w9p3y89rqsmqiacwj2avir42r0xjr2yri14v3ay6yar5391r8wa";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ buildbot-pkg ];
|
||||
buildInputs = [ buildbot-pkg ];
|
||||
checkInputs = [ buildbot ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = http://buildbot.net/;
|
||||
description = "Buildbot WSGI dashboards Plugin";
|
||||
maintainers = with maintainers; [ ];
|
||||
maintainers = with maintainers; [ lopsided98 ];
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage (rec {
|
||||
pname = "buildbot-worker";
|
||||
version = "2.3.1";
|
||||
version = "2.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0lvgqcayd4f32895g3cwrbnjw6p94nrggbq7wfz5mwbhpgg6hv52";
|
||||
sha256 = "04dk1jg0yq0rcm7j7pn7l1pqqjhiyvwppnhc1b7106sx2cdj2yb2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ twisted future ];
|
||||
@@ -22,7 +22,7 @@ buildPythonPackage (rec {
|
||||
meta = with lib; {
|
||||
homepage = http://buildbot.net/;
|
||||
description = "Buildbot Worker Daemon";
|
||||
maintainers = with maintainers; [ nand0p ryansydnor ];
|
||||
maintainers = with maintainers; [ nand0p ryansydnor lopsided98 ];
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
})
|
||||
|
||||
@@ -19,7 +19,7 @@ index 718aa7f..1a1dcff 100644
|
||||
+ 'cairo': '@cairo@/lib/libcairo@ext@',
|
||||
+ 'glib-2.0': '@glib@/lib/libglib-2.0@ext@',
|
||||
+ 'gobject-2.0': '@glib@/lib/libgobject-2.0@ext@',
|
||||
+ 'gdk-pixbuf-2.0': '@gdk_pixbuf@/lib/libgdk_pixbuf-2.0@ext@',
|
||||
+ 'gdk_pixbuf-2.0': '@gdk_pixbuf@/lib/libgdk_pixbuf-2.0@ext@',
|
||||
+}
|
||||
|
||||
-def dlopen(ffi, *names):
|
||||
|
||||
@@ -19,7 +19,7 @@ index 6061973..3538a58 100644
|
||||
+ 'cairo': '@cairo@/lib/libcairo@ext@',
|
||||
+ 'glib-2.0': '@glib@/lib/libglib-2.0@ext@',
|
||||
+ 'gobject-2.0': '@glib@/lib/libgobject-2.0@ext@',
|
||||
+ 'gdk-pixbuf-2.0': '@gdk_pixbuf@/lib/libgdk_pixbuf-2.0@ext@',
|
||||
+ 'gdk_pixbuf-2.0': '@gdk_pixbuf@/lib/libgdk_pixbuf-2.0@ext@',
|
||||
+}
|
||||
|
||||
-def dlopen(ffi, *names):
|
||||
|
||||
@@ -6,11 +6,15 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "capstone";
|
||||
version = "3.0.4";
|
||||
version = "3.0.5.post1";
|
||||
|
||||
setupPyBuildFlags = [
|
||||
"--plat-name x86_64-linux"
|
||||
];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "945d3b8c3646a1c3914824c416439e2cf2df8969dd722c8979cdcc23b40ad225";
|
||||
sha256 = "3c0f73db9f8392f7048c8a244809f154d7c39f354e2167f6c477630aa517ed04";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://graphite.wikidot.com/;
|
||||
description = "Backend data caching and persistence daemon for Graphite";
|
||||
maintainers = with maintainers; [ rickynils offline basvandijk ];
|
||||
maintainers = with maintainers; [ offline basvandijk ];
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cfgv";
|
||||
version = "2.0.0";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0zn3nc7cyfsvg9gp7558656n2sn1m01j30l79ci22ibgvq4vxv9j";
|
||||
sha256 = "0i1iam461bd6bphd402r7payr2m71xivy5zp6k2gjnv67fa8gczd";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
@@ -25,7 +25,7 @@ buildPythonPackage rec {
|
||||
homepage = http://liw.fi/cliapp/;
|
||||
description = "Python framework for Unix command line programs";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ rickynils ];
|
||||
maintainers = [];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, click, pytest_3 }:
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, click, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "click-default-group";
|
||||
version = "1.2";
|
||||
version = "1.2.1";
|
||||
|
||||
# No tests in Pypi tarball
|
||||
src = fetchFromGitHub {
|
||||
owner = "click-contrib";
|
||||
repo = "click-default-group";
|
||||
rev = "v${version}";
|
||||
sha256 = "0lm2k4jvy4ilvv91niawklfnp5mp7wa8c1bicsqdfzrxmw7jliwp";
|
||||
sha256 = "1wdmabfpmzxpiww0slinvxm9xjyxql250dn1pvjijq675pxafiz4";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ click ];
|
||||
|
||||
checkInputs = [ pytest_3 ];
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://github.com/click-contrib/click-default-group;
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "cmd2";
|
||||
version = "0.9.14";
|
||||
version = "0.9.16";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0rllwc4h89xdivy85nmgqdi2s0sk1zw31mlvrnlr9gz2902cnq93";
|
||||
sha256 = "0ggvh38mc1kkrlqdicjz5a16j5v6f6z0nwmcvv8i3y5gaffkfy2b";
|
||||
};
|
||||
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
48
pkgs/development/python-modules/cnvkit/default.nix
Normal file
48
pkgs/development/python-modules/cnvkit/default.nix
Normal file
@@ -0,0 +1,48 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, rPackages
|
||||
, rWrapper
|
||||
, buildPythonPackage
|
||||
, biopython
|
||||
, numpy
|
||||
, scipy
|
||||
, pandas
|
||||
, matplotlib
|
||||
, reportlab
|
||||
, pysam
|
||||
, future
|
||||
, pillow
|
||||
, pomegranate
|
||||
, pyfaidx
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "CNVkit";
|
||||
version = "0.9.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1hj8c98s538i0hg5mrz4bw4v07qmcl51rhxq611rj2nglnc9r25y";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
biopython
|
||||
numpy
|
||||
scipy
|
||||
pandas
|
||||
matplotlib
|
||||
reportlab
|
||||
pyfaidx
|
||||
pysam
|
||||
future
|
||||
pillow
|
||||
pomegranate
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://cnvkit.readthedocs.io";
|
||||
description = "A Python library and command-line software toolkit to infer and visualize copy number from high-throughput DNA sequencing data";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.jbedo ];
|
||||
};
|
||||
}
|
||||
26
pkgs/development/python-modules/codespell/default.nix
Normal file
26
pkgs/development/python-modules/codespell/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ lib, buildPythonApplication, fetchPypi, pytest, chardet }:
|
||||
buildPythonApplication rec {
|
||||
pname = "codespell";
|
||||
version = "1.15.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0c211rzfgmwls8ab8fj21xp9bhxk6ys3xw8w7chp4arjlifc26wg";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest chardet ];
|
||||
checkPhase = ''
|
||||
# We don't want to be affected by the presence of these
|
||||
rm -r codespell_lib setup.cfg
|
||||
# test_command assumes too much about the execution environment
|
||||
pytest --pyargs codespell_lib.tests -k "not test_command"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Fix common misspellings in source code";
|
||||
homepage = "https://github.com/codespell-project/codespell";
|
||||
license = with lib.licenses; [ gpl2 cc-by-sa-30 ];
|
||||
maintainers = with lib.maintainers; [ johnazoidberg ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, param
|
||||
@@ -35,10 +35,11 @@ buildPythonPackage rec {
|
||||
mkdir -p $HOME/.config/matplotlib
|
||||
echo "backend: ps" > $HOME/.config/matplotlib/matplotlibrc
|
||||
|
||||
pytest colorcet
|
||||
# disable matplotlib tests on darwin, because it requires a framework build of Python
|
||||
pytest ${stdenv.lib.optionalString stdenv.isDarwin "--ignore=colorcet/tests/test_matplotlib.py"} colorcet
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = with stdenv.lib; {
|
||||
description = "Collection of perceptually uniform colormaps";
|
||||
homepage = https://colorcet.pyviz.org;
|
||||
license = licenses.cc-by-40;
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cupy";
|
||||
version = "6.0.0";
|
||||
version = "6.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "168xi92pfk80n2k47qc5zim7jai3kcmj3j157fynz9c8dfw4sbn4";
|
||||
sha256 = "0d6liaavgqks772rqam53qha3yk6dfw24i0pj3izxvvawzhlp10z";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
{ lib
|
||||
, bokeh
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fsspec
|
||||
, pytest
|
||||
, pythonOlder
|
||||
, cloudpickle
|
||||
, numpy
|
||||
, toolz
|
||||
@@ -12,15 +15,18 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dask";
|
||||
version = "1.2.2";
|
||||
version = "2.2.0";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5e7876bae2a01b355d1969b73aeafa23310febd8c353163910b73e93dc7e492c";
|
||||
sha256 = "0wkiqkckwy7fv6m86cs3m3g6jdikkkw84ki9hiwp60xpk5xngnf0";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ cloudpickle numpy toolz dill pandas partd ];
|
||||
propagatedBuildInputs = [
|
||||
bokeh cloudpickle dill fsspec numpy pandas partd toolz ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test dask
|
||||
|
||||
27
pkgs/development/python-modules/deprecated/default.nix
Normal file
27
pkgs/development/python-modules/deprecated/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ stdenv, fetchPypi, buildPythonPackage,
|
||||
wrapt, pytest, tox }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Deprecated";
|
||||
version = "1.2.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1hcw9y7dvhwg5flk6wy8aa4kkgpvcqq3q4jd53h54586fp7w85d5";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# odd broken tests, don't appear in GitHub repo
|
||||
rm tests/demo_classic_usage*.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ wrapt ];
|
||||
checkInputs = [ pytest ];
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/tantale/deprecated";
|
||||
description = "Python @deprecated decorator to deprecate old python classes, functions or methods";
|
||||
platforms = platforms.all;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ tilpner ];
|
||||
};
|
||||
}
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "deprecation";
|
||||
version = "2.0.6";
|
||||
version = "2.0.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "68071e5ae7cd7e9da6c7dffd750922be4825c7c3a6780d29314076009cc39c35";
|
||||
sha256 = "1vcjy6flqbzgjh4zhcs0sl83b946wxrlsx5miliz0ik1d9kjyff0";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ packaging ];
|
||||
|
||||
@@ -28,12 +28,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "distributed";
|
||||
version = "1.28.1";
|
||||
version = "2.3.0";
|
||||
|
||||
# get full repository need conftest.py to run tests
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "12n487qn66jkgq4nd3vgyc9hfqw4i7zwr4dyybsqm4xmgs5kzn1v";
|
||||
sha256 = "15lb6fz3739nkyxi1igzm5p2lk40digkc9fkzjqx1jpymfac9dwl";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytest-repeat pytest-faulthandler pytest-timeout mock joblib ];
|
||||
|
||||
23
pkgs/development/python-modules/django-csp/default.nix
Normal file
23
pkgs/development/python-modules/django-csp/default.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ stdenv, fetchPypi, buildPythonPackage, django }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-csp";
|
||||
version = "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "django_csp";
|
||||
sha256 = "0ks4zszbjx5lyqlc34pjica8hfcjzw4i5m6pivvnyv8yf0vh4q04";
|
||||
};
|
||||
|
||||
# too complicated to setup - needs a running django instance
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ django ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Adds Content-Security-Policy headers to Django";
|
||||
homepage = "https://github.com/mozilla/django-csp";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{ stdenv, fetchFromGitHub, buildPythonPackage, django, pytest, pytest-django }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-logentry-admin";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "yprez";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1ji04qklzhjb7fx6644vzikjb2196rxyi8hrwf2knsz41ndvq1l9";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytest-django ];
|
||||
checkPhase = ''
|
||||
rm -r logentry_admin __init__.py
|
||||
pytest
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ django ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Show all LogEntry objects in the Django admin site";
|
||||
homepage = "https://github.com/yprez/django-logentry-admin";
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ mrmebelman ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-polymorphic";
|
||||
version = "2.0.3";
|
||||
version = "2.1.2";
|
||||
|
||||
# PyPI tarball is missing some test files
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "08qk3rbk0xlphwalkigbhqpmfaqjk1sxmlfh8zy8s8dw7fw1myk4";
|
||||
sha256 = "0zghrq7y7g2ls38cz6y98qj5xwnn992slhb95qyp6l66d420j179";
|
||||
};
|
||||
|
||||
checkInputs = [ dj-database-url ];
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-webpack-loader";
|
||||
version = "0.2.4";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1bwpgmkh32d7a5dgppin9m0mnh8a33ccl5ksnpw5vjp4lal3xq73";
|
||||
sha256 = "087mspmx74qbcknpbksl66rsyin0dc5aglhjmmpk999pl2wvdfk0";
|
||||
};
|
||||
|
||||
# django.core.exceptions.ImproperlyConfigured (path issue with DJANGO_SETTINGS_MODULE?)
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Django";
|
||||
version = "1.11.22";
|
||||
version = "1.11.23";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.djangoproject.com/m/releases/1.11/${pname}-${version}.tar.gz";
|
||||
sha256 = "0if8p7sgbvpy3m8d25pw1x232s14ndd60w5s5d88jl3hl505s3c3";
|
||||
sha256 = "1qb9npkpvyafd1f4yjqyzhj78wp1ifg3awj41bd04v83idznv9jj";
|
||||
};
|
||||
|
||||
patches = stdenv.lib.optionals withGdal [
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Django";
|
||||
version = "2.1.10";
|
||||
version = "2.1.11";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0n794x17x8q2jzjm12glb900y53r3bxg8dafvl65djiglm4abqk5";
|
||||
sha256 = "1m9bs78sh91slsjxkhxgkg715gbsgph9ky7d74czs0z2mhg86h8s";
|
||||
};
|
||||
|
||||
patches = stdenv.lib.optionals withGdal [
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Django";
|
||||
version = "2.2.3";
|
||||
version = "2.2.4";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1sn0a7yjipwxrplh1x4kr77a93xzik1inh07bxwaqaw94qdzc8sd";
|
||||
sha256 = "1s5ad5zlmwdn4h5lwn4s4m8mqy0gz4w9nfzyknn815sr252db98n";
|
||||
};
|
||||
|
||||
patches = stdenv.lib.optional withGdal
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
rcssmin, rjsmin, django_appconf }:
|
||||
buildPythonPackage rec {
|
||||
pname = "django_compressor";
|
||||
version = "2.2";
|
||||
version = "2.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9616570e5b08e92fa9eadc7a1b1b49639cce07ef392fc27c74230ab08075b30f";
|
||||
sha256 = "1pbygd00l0k5p1r959131khij1km1a1grfxg0r59ar2wyx3n7j27";
|
||||
};
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace 'rcssmin == 1.0.6' 'rcssmin' \
|
||||
|
||||
@@ -1,33 +1,43 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, six, requests, websocket_client
|
||||
, ipaddress, backports_ssl_match_hostname, docker_pycreds
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy27
|
||||
, backports_ssl_match_hostname
|
||||
, mock
|
||||
, paramiko
|
||||
, pytest
|
||||
, requests
|
||||
, six
|
||||
, websocket_client
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "3.7.2";
|
||||
version = "4.0.2";
|
||||
pname = "docker";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c456ded5420af5860441219ff8e51cdec531d65f4a9e948ccd4133e063b72f50";
|
||||
sha256 = "0r1i46h8x1vfvadayyvmh5hc6mpzgv3vvp6pv4g1wavamya2wnyc";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
requests
|
||||
websocket_client
|
||||
ipaddress
|
||||
backports_ssl_match_hostname
|
||||
docker_pycreds
|
||||
paramiko
|
||||
] ++ stdenv.lib.optional isPy27 backports_ssl_match_hostname;
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
pytest
|
||||
];
|
||||
|
||||
# Flake8 version conflict
|
||||
doCheck = false;
|
||||
# Other tests touch network
|
||||
checkPhase = ''
|
||||
${pytest}/bin/pytest tests/unit/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An API client for docker written in Python";
|
||||
homepage = https://github.com/docker/docker-py;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [
|
||||
];
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, six, pytestcov, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.0.14";
|
||||
version = "0.0.15";
|
||||
pname = "dockerfile-parse";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0b829a9e25ac9af17a0affa41c0fca6541a03b8edb0178f60dc036e2ce59eeb5";
|
||||
sha256 = "1s05s1hc834yk6qxj2yv3fh7grj3q52d6jjy0sv1p05938baprfm";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dominate";
|
||||
version = "2.3.5";
|
||||
version = "2.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0lda2a4nxxh9wp727vhn31rl5v7y9fxkscdjawg7gzj50xf76xj0";
|
||||
sha256 = "1775cz6lipb43hmjll77m2pxh72pikng74lpg30v9n1b66s78959";
|
||||
};
|
||||
|
||||
doCheck = !isPy3k;
|
||||
|
||||
26
pkgs/development/python-modules/elementpath/default.nix
Normal file
26
pkgs/development/python-modules/elementpath/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ buildPythonPackage
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.1.8";
|
||||
pname = "elementpath";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sissaschool";
|
||||
repo = "elementpath";
|
||||
rev = "v${version}";
|
||||
sha256 = "0krczvf8r6pb3hb8qaxl9h2b4qwg180xk66gyxjf002im7ri75aj";
|
||||
};
|
||||
|
||||
# avoid circular dependency with xmlschema which directly depends on this
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "XPath 1.0/2.0 parsers and selectors for ElementTree and lxml";
|
||||
homepage = "https://github.com/sissaschool/elementpath";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
29
pkgs/development/python-modules/emailthreads/default.nix
Normal file
29
pkgs/development/python-modules/emailthreads/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ lib, fetchFromGitHub, buildPythonPackage
|
||||
, python, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "emailthreads";
|
||||
version = "0.1.0";
|
||||
disabled = !isPy3k;
|
||||
|
||||
# pypi is missing files for tests
|
||||
src = fetchFromGitHub {
|
||||
owner = "emersion";
|
||||
repo = "python-emailthreads";
|
||||
rev = "v${version}";
|
||||
sha256 = "17pfal8kbxhs025apkijqbkppw2lljca8x1cwcx49jv60h05c3cn";
|
||||
};
|
||||
|
||||
PKGVER = version;
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest discover test
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://github.com/emersion/python-emailthreads;
|
||||
description = "Python library to parse and format email threads";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ eadwu ];
|
||||
};
|
||||
}
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "emoji";
|
||||
version = "0.5.2";
|
||||
version = "0.5.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9ae01495fc3fcc04e9136ca1af8cae58726ec5dfaaa92f61f0732cbae9a12fa9";
|
||||
sha256 = "0kn6qq1h0d6cg70wk0hji6bcwg5s18ys6gfmlmfmx8420ka150dn";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, pytestrunner, pytest_3, scipy }:
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, pytestrunner, pytest, scipy }:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "fastpair";
|
||||
@@ -11,14 +11,17 @@ buildPythonPackage {
|
||||
sha256 = "1pv9sxycxdk567s5gs947rhlqngrb9nn9yh4dhdvg1ix1i8dca71";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ (pytestrunner.override { pytest = pytest_3; }) ];
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
|
||||
checkInputs = [ pytest_3 ];
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
scipy
|
||||
];
|
||||
|
||||
# Does not support pytest 4 https://github.com/carsonfarmer/fastpair/issues/14
|
||||
doCheck = false;
|
||||
|
||||
checkPhase = ''
|
||||
pytest fastpair
|
||||
'';
|
||||
|
||||
@@ -1,20 +1,36 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi,
|
||||
requests, mt-940, sepaxml, bleach, isPy3k }:
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, isPy27
|
||||
, bleach
|
||||
, mt-940
|
||||
, pytest
|
||||
, requests
|
||||
, sepaxml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.1.1";
|
||||
version = "2.2.0";
|
||||
pname = "fints";
|
||||
disabled = !isPy3k;
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "06p6p0xxw0n10hmf7z4k1l29fya0sja433s6lasjr1bal5asdhaq";
|
||||
src = fetchFromGitHub {
|
||||
owner = "raphaelm";
|
||||
repo = "python-fints";
|
||||
rev = "v${version}";
|
||||
sha256 = "1gx173dzdprf3jsc7dss0xax8s6l2hr02qg9m5c4rksb3dl5fl8w";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace 'sepaxml==2.0.*' 'sepaxml~=2.0'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ requests mt-940 sepaxml bleach ];
|
||||
|
||||
# no tests included in PyPI package
|
||||
doCheck = false;
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
# ignore network calls and broken fixture
|
||||
checkPhase = ''
|
||||
pytest . --ignore=tests/test_client.py -k 'not robust_mode'
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/raphaelm/python-fints/;
|
||||
|
||||
40
pkgs/development/python-modules/flake8-polyfill/default.nix
Normal file
40
pkgs/development/python-modules/flake8-polyfill/default.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{ lib, fetchPypi, buildPythonPackage
|
||||
, flake8
|
||||
, mock, pep8, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flake8-polyfill";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1nlf1mkqw856vi6782qcglqhaacb23khk9wkcgn55npnjxshhjz4";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Failed: [pytest] section in setup.cfg files is no longer supported, change to [tool:pytest] instead.
|
||||
substituteInPlace setup.cfg \
|
||||
--replace pytest 'tool:pytest'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
flake8
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
pep8
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://gitlab.com/pycqa/flake8-polyfill;
|
||||
description = "Polyfill package for Flake8 plugins";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ eadwu ];
|
||||
};
|
||||
}
|
||||
@@ -14,11 +14,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "folium";
|
||||
version = "0.9.1";
|
||||
version = "0.10.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "66901483808839ed895a685ca7bc4731379f4a627d73a83b77f0df1847b14892";
|
||||
sha256 = "18fzxijsgrb95r0a8anc9ba5ijyw3nlnv3rpavfbkqa5v878x84f";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
26
pkgs/development/python-modules/fsspec/default.nix
Normal file
26
pkgs/development/python-modules/fsspec/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fsspec";
|
||||
version = "0.4.1";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0fvm1kdnnbf0pppv23mlfdqh220gcldmv72w2rdxp6ks1rcphzg3";
|
||||
};
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A specification that python filesystems should adhere to.";
|
||||
homepage = "https://github.com/intake/filesystem_spec";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
@@ -10,7 +10,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "ftfy";
|
||||
|
||||
version = "5.5.1";
|
||||
version = "5.6";
|
||||
# ftfy v5 only supports python3. Since at the moment the only
|
||||
# packages that use ftfy are spacy and textacy which both support
|
||||
# python 2 and 3, they have pinned ftfy to the v4 branch.
|
||||
@@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1ci6xrj4g01a97nymxpv9nj820nlmgzc4ybaz9k46i6bnxzpax7s";
|
||||
sha256 = "1k4vr5rfa62yafwpmb4827n50pwb79if0vhg1y4yqbb0bv20jxbd";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "funcy";
|
||||
version = "1.12";
|
||||
version = "1.13";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0vdbh0ykmjsvq4vb3hrx5327q9ccl1jhbjca59lsr0v0ghwb0grz";
|
||||
sha256 = "1hxii7g4fn301vr8wg53jc1jkvbjlbaz1fbpgpn4362xcwzk73wi";
|
||||
};
|
||||
|
||||
# No tests
|
||||
|
||||
35
pkgs/development/python-modules/git-revise/default.nix
Normal file
35
pkgs/development/python-modules/git-revise/default.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonAtLeast
|
||||
, tox
|
||||
, pytest
|
||||
, pylint
|
||||
, mypy
|
||||
, black
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "git-revise";
|
||||
version = "0.4.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1mq1fh8m6jxl052d811cgpl378hiq20a8zrhdjn0i3dqmxrcb8vs";
|
||||
};
|
||||
|
||||
disabled = !(pythonAtLeast "3.6");
|
||||
|
||||
checkInputs = [ tox pytest pylint mypy black ];
|
||||
|
||||
checkPhase = ''
|
||||
tox
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Efficiently update, split, and rearrange git commits";
|
||||
homepage = https://github.com/mystor/git-revise;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ emily ];
|
||||
};
|
||||
}
|
||||
@@ -10,11 +10,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "globus-sdk";
|
||||
version = "1.7.1";
|
||||
version = "1.8.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d96f7ed1887c8f55f2bc8d493cd8ec73ff9f3361f0a134203e34e2e57bedd964";
|
||||
sha256 = "0ggxa3av4rwva9h5idg1vfdybr7wkajw7g0sn42k04sxxa0cigwz";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-api-python-client";
|
||||
version = "1.7.10";
|
||||
version = "1.7.11";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1mlx5dvkh6rjkvkd91flyhrmji2kw9rlr05n8n4wccv2np3sam9f";
|
||||
sha256 = "137vwb9544vjxkwnbr98x0f4p6ri5i678wxxxgbsx4kdyrs83a58";
|
||||
};
|
||||
|
||||
# No tests included in archive
|
||||
|
||||
@@ -48,7 +48,7 @@ else buildPythonPackage rec {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://graphite.wikidot.com/;
|
||||
description = "Enterprise scalable realtime graphing";
|
||||
maintainers = with maintainers; [ rickynils offline basvandijk ];
|
||||
maintainers = with maintainers; [ offline basvandijk ];
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,24 +1,24 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, lib, grpcio}:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, protobuf, grpcio }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "grpcio-tools";
|
||||
version = "1.18.0";
|
||||
version = "1.22.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "77ec4d3c92ccbbe3de37c457e3c72962e519c36cafb96abe5842bced8eb926fa";
|
||||
sha256 = "b5c0fe51a155625c9d1132ab8deb56b3015e111a6961e48aeb9dd89bd7c670ab";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
propagatedBuildInputs = [ grpcio ];
|
||||
propagatedBuildInputs = [ protobuf grpcio ];
|
||||
|
||||
# no tests in the package
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Protobuf code generator for gRPC";
|
||||
license = lib.licenses.asl20;
|
||||
license = licenses.asl20;
|
||||
homepage = "https://grpc.io/grpc/python/";
|
||||
maintainers = with maintainers; [ vanschelven ];
|
||||
};
|
||||
|
||||
@@ -1,32 +1,30 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, lib, darwin
|
||||
, six, protobuf, enum34, futures, isPy27, isPy34, pkgconfig
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, darwin
|
||||
, six, protobuf, enum34, futures, isPy27, pkgconfig
|
||||
, cython}:
|
||||
|
||||
with stdenv.lib;
|
||||
buildPythonPackage rec {
|
||||
pname = "grpcio";
|
||||
version = "1.18.0";
|
||||
version = "1.22.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "grpc";
|
||||
repo = "grpc";
|
||||
rev = "v${version}";
|
||||
fetchSubmodules = true;
|
||||
sha256 = "0cilbhk35gv46mk40jl5f3iqa94x14qyxbavpfq0kh0rld82nx4m";
|
||||
sha256 = "093w8mgvl8ylqlqnfz06ijkmlnkxcjszf9zg6k5ybjw7dwal0jhz";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython pkgconfig ]
|
||||
++ optional stdenv.isDarwin darwin.cctools;
|
||||
++ stdenv.lib.optional stdenv.isDarwin darwin.cctools;
|
||||
|
||||
propagatedBuildInputs = [ six protobuf ]
|
||||
++ lib.optionals (isPy27 || isPy34) [ enum34 ]
|
||||
++ lib.optionals (isPy27) [ futures ];
|
||||
++ stdenv.lib.optionals (isPy27) [ enum34 futures ];
|
||||
|
||||
preBuild = optionalString stdenv.isDarwin "unset AR";
|
||||
preBuild = stdenv.lib.optionalString stdenv.isDarwin "unset AR";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "HTTP/2-based RPC framework";
|
||||
license = lib.licenses.asl20;
|
||||
license = licenses.asl20;
|
||||
homepage = "https://grpc.io/grpc/python/";
|
||||
maintainers = with maintainers; [ vanschelven ];
|
||||
};
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -12,10 +13,15 @@ buildPythonPackage rec {
|
||||
sha256 = "f7ce6c06250f694976c3cd4944e3b607b0810b93383839e5b67c7199ce2f0d3d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google Spreadsheets client library";
|
||||
homepage = "https://github.com/burnash/gspread";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
# No tests included
|
||||
doCheck = false;
|
||||
|
||||
}
|
||||
|
||||
@@ -1,13 +1,30 @@
|
||||
{ stdenv, lib, buildPythonPackage, fetchPypi, six, enum34, decorator,
|
||||
nose, gss, krb5Full, darwin }:
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, six
|
||||
, enum34
|
||||
, decorator
|
||||
, nose
|
||||
, krb5Full
|
||||
, darwin
|
||||
, isPy27
|
||||
, parameterized
|
||||
, shouldbe
|
||||
, cython
|
||||
, python
|
||||
, k5test
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gssapi";
|
||||
version = "1.5.1";
|
||||
version = "1.6.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "76c9fda88a7178f41bf6454a06d64054c56b46f0dcbc73307f2e57bb8c25d8cc";
|
||||
src = fetchFromGitHub {
|
||||
owner = "pythongssapi";
|
||||
repo = "python-${pname}";
|
||||
rev = "v${version}";
|
||||
sha256 = "0n13vb3v50vr04vrnql2w00gri0gcf08i0pr0q2p4w8scbsw7kjk";
|
||||
};
|
||||
|
||||
# It's used to locate headers
|
||||
@@ -16,18 +33,36 @@ buildPythonPackage rec {
|
||||
--replace "get_output('krb5-config gssapi --prefix')" "'${lib.getDev krb5Full}'"
|
||||
'';
|
||||
|
||||
LD_LIBRARY_PATH = "${krb5Full}/lib";
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
krb5Full
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ krb5Full ]
|
||||
++ ( if stdenv.isDarwin then [ darwin.apple_sdk.frameworks.GSS ] else [ gss ] );
|
||||
propagatedBuildInputs = [
|
||||
decorator
|
||||
six
|
||||
] ++ lib.optional isPy27 enum34;
|
||||
|
||||
propagatedBuildInputs = [ decorator enum34 six ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.GSS
|
||||
];
|
||||
|
||||
checkInputs = [ nose ];
|
||||
checkInputs = [
|
||||
k5test
|
||||
nose
|
||||
parameterized
|
||||
shouldbe
|
||||
six
|
||||
];
|
||||
|
||||
doCheck = false; # No such file or directory: '/usr/sbin/kadmin.local'
|
||||
doCheck = !stdenv.isDarwin; # many failures on darwin
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
checkPhase = ''
|
||||
export PYTHONPATH="$out/${python.sitePackages}:$PYTHONPATH"
|
||||
${python.interpreter} setup.py nosetests
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://pypi.python.org/pypi/gssapi;
|
||||
description = "Python GSSAPI Wrapper";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "h2";
|
||||
version = "3.1.0";
|
||||
version = "3.1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "fd07e865a3272ac6ef195d8904de92dc7b38dc28297ec39cfa22716b6d62e6eb";
|
||||
sha256 = "1d1svhixk3hr78ph3nx8wi7sagx1xrvm712mmk028i2rhb92p8xq";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ enum34 hpack hyperframe ];
|
||||
|
||||
31
pkgs/development/python-modules/hocr-tools/default.nix
Normal file
31
pkgs/development/python-modules/hocr-tools/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lxml
|
||||
, pillow
|
||||
, reportlab
|
||||
, stdenv
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "hocr-tools";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tmbdev";
|
||||
repo = "${pname}";
|
||||
rev = "v${version}";
|
||||
sha256 = "14f9hkp7pr677085w8iidwd0la9cjzy3pyj3rdg9b03nz9pc0w6p";
|
||||
};
|
||||
|
||||
# hocr-tools uses a test framework that requires internet access
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ pillow lxml reportlab ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "
|
||||
Tools for manipulating and evaluating the hOCR format for representing multi-lingual OCR results by embedding them into HTML";
|
||||
homepage = https://github.com/tmbdev/hocr-tools;
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.kiwi ];
|
||||
};
|
||||
}
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "html5-parser";
|
||||
version = "0.4.7";
|
||||
version = "0.4.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1gzs9fa38m80y509fg58ylwhxgy7w28ww968pi6wmfrih9ib6l93";
|
||||
sha256 = "00d1zfk72xzyibh7l4ib57y0isn5gic7avgbh7afbkk99iwd5smi";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "invoke";
|
||||
version = "1.2.0";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1dr1a5qbb9z5hyns4zk086zm0iqbms33zv0s1296wx502y7jyjfw";
|
||||
sha256 = "1nn7gad0rvy492acpyhkrp01zsk86acf34qhsvq4xmm6x39788n5";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ipdb";
|
||||
version = "0.12";
|
||||
version = "0.12.2";
|
||||
disabled = isPyPy; # setupterm: could not find terminfo database
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "dce2112557edfe759742ca2d0fee35c59c97b0cc7a05398b791079d78f1519ce";
|
||||
sha256 = "0mzfv2sa8qabqzh2vqgwhavb15gsmcgqn6i3jgq6b5q9i9wxsgs7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ ipython ];
|
||||
|
||||
@@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f0e962052718068ad3b1d8bcc703794660858f58803c3798628817f492a8769c";
|
||||
sha256 = "173nm29g85w8cac3fg40b27qaq26g41wgg6qn79ql1hq4w2n5sgh";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest nose ];
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jenkins-job-builder";
|
||||
version = "2.10.0";
|
||||
version = "3.0.1";
|
||||
disabled = !isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0jp8v0a3yhjv7024y7r4jd4kq008ljra6lxx4143jw3rp72q3afc";
|
||||
sha256 = "16x97pdr90x3xsc1xl66l7q77pgja5dzsk921by2h09k7dvxaqmh";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
25
pkgs/development/python-modules/jsonmerge/default.nix
Normal file
25
pkgs/development/python-modules/jsonmerge/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, jsonschema
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jsonmerge";
|
||||
version = "1.6.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "03l2j1lrcwcp7af4x8agxnkib0ndybfrbhn2gi7mnk6gbxfw1aw3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ jsonschema ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Merge a series of JSON documents";
|
||||
homepage = https://github.com/avian2/jsonmerge;
|
||||
changelog = "https://github.com/avian2/jsonmerge/blob/jsonmerge-${version}/ChangeLog";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ emily ];
|
||||
};
|
||||
}
|
||||
@@ -1,18 +1,21 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jsonpickle";
|
||||
version = "1.1";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "625098cc8e5854b8c23b587aec33bc8e33e0e597636bfaca76152249c78fe5c1";
|
||||
sha256 = "16xj4r31pnd90slax5mmd5wps5s73wp9mn6sy9nhkl5ih7bj5sfk";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
checkPhase = "pytest tests/jsonpickle_test.py";
|
||||
|
||||
meta = {
|
||||
description = "Python library for serializing any arbitrary object graph into JSON";
|
||||
@@ -20,4 +23,4 @@ buildPythonPackage rec {
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user