Merge staging-next into staging
This commit is contained in:
@@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = http://pygments.org/;
|
||||
homepage = https://pygments.org/;
|
||||
description = "A generic syntax highlighter";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "awkward";
|
||||
version = "0.12.18";
|
||||
version = "0.12.19";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9b3df4f2be92ac7d16709f15769c97591f25f0442061f1a4cc8715feb268e45c";
|
||||
sha256 = "1s729a8205jzg7pfw8xgmi850x03p9nw8c6a602f5bnmhha96h45";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, pytest, pytestrunner, pytestcov, mock, glibcLocales, lxml, boto3
|
||||
, requests, click, configparser, fido2, isPy27 }:
|
||||
, requests, requests-kerberos, click, configparser, fido2, isPy27 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aws-adfs";
|
||||
@@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
||||
checkInputs = [ glibcLocales pytest pytestrunner pytestcov mock ];
|
||||
propagatedBuildInputs = [ lxml boto3 requests click configparser fido2 ];
|
||||
propagatedBuildInputs = [ lxml boto3 requests requests-kerberos click configparser fido2 ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command line tool to ease aws cli authentication against ADFS";
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-iotcentral";
|
||||
version = "1.0.0";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "9aac88ed1f993965015f4e9986931fc08798e09d7b864928681a7cebff053de8";
|
||||
sha256 = "1fql0j28d2r6slgabb7b438gdga513iskqh4al6c7dsmj1yzdzwa";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "catalogue";
|
||||
version = "0.0.8";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c407a51c22f51b0f938104b6396c489145bae234386e68eb1d56326c3b3e128e";
|
||||
sha256 = "0zha0gzqfkazc9da0cyjys5ghf20ihyhkgd1h5zxkxlf8zhz03s3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ importlib-metadata ];
|
||||
|
||||
32
pkgs/development/python-modules/colormath/default.nix
Normal file
32
pkgs/development/python-modules/colormath/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, networkx
|
||||
, nose
|
||||
, numpy
|
||||
, lib
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "colormath";
|
||||
version = "3.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gtaylor";
|
||||
rev = "3.0.0";
|
||||
repo = "python-colormath";
|
||||
sha256 = "1nqf5wy8ikx2g684khzvjc4iagkslmbsxxwilbv4jpaznr9lahdl";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ networkx numpy ];
|
||||
|
||||
checkInputs = [ nose ];
|
||||
checkPhase = "nosetests";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Color math and conversion library";
|
||||
homepage = "https://github.com/gtaylor/python-colormath";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ jonathanreeve ];
|
||||
};
|
||||
}
|
||||
32
pkgs/development/python-modules/coordinates/default.nix
Normal file
32
pkgs/development/python-modules/coordinates/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "coordinates";
|
||||
version = "0.4.0";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "clbarnes";
|
||||
repo = "coordinates";
|
||||
rev = "v${version}";
|
||||
sha256 = "1zha594rshjg3qjq9mrai2hfldya282ihasp2i3km7b2j4gjdw2b";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
pytest tests/
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Convenience class for doing maths with explicit coordinates";
|
||||
homepage = https://github.com/clbarnes/coordinates;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.mildlyincompetent ];
|
||||
};
|
||||
}
|
||||
20
pkgs/development/python-modules/crc32c/default.nix
Normal file
20
pkgs/development/python-modules/crc32c/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.0";
|
||||
pname = "crc32c";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ICRAR";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "15x1sj23n50qdjmi8mjq5wgf5jfn1yv78vjc59wplvl0s50w2dnk";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Python software implementation and hardware API of CRC32C checksum algorithm";
|
||||
homepage = "https://github.com/ICRAR/crc32c";
|
||||
license = lib.licenses.lgpl21;
|
||||
maintainers = with lib.maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
||||
@@ -8,11 +8,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "croniter";
|
||||
version = "0.3.30";
|
||||
version = "0.3.31";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "538adeb3a7f7816c3cdec6db974c441620d764c25ff4ed0146ee7296b8a50590";
|
||||
sha256 = "15riw8sl8jzzkvvjlz3i3p7jcx423zipxhff5ddvki6zgnrb9149";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
40
pkgs/development/python-modules/dodgy/default.nix
Normal file
40
pkgs/development/python-modules/dodgy/default.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy3k
|
||||
, lib
|
||||
|
||||
# pythonPackages
|
||||
, mock
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dodgy";
|
||||
version = "0.2.1";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "landscapeio";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0ywwjpz0p6ls3hp1lndjr9ql6s5lkj7dgpll1h87w04kwan70j0x";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
nose
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests tests/test_checks.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Looks at Python code to search for things which look \"dodgy\" such as passwords or diffs";
|
||||
homepage = "https://github.com/landscapeio/dodgy";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [
|
||||
kamadorueda
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -7,12 +7,12 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.9.0";
|
||||
version = "3.0.0";
|
||||
pname = "geoip2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1w7cay5q6zawjzivqbwz5cqx1qbdjw6kbriccb7l46p7b39fkzzp";
|
||||
sha256 = "1q1ciqqd0qjkpgwsg9fws8wcqchkcq84gv2g4q3xgh2lpj3yjsaq";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests maxminddb ]
|
||||
|
||||
29
pkgs/development/python-modules/hydra/default.nix
Normal file
29
pkgs/development/python-modules/hydra/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy27, pytest, omegaconf, pathlib2 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hydra";
|
||||
version = "0.11.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "facebookresearch";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0plbls65qfrvvigza3qvy0pwjzgkz8ylpgb1im14k3b125ny41ad";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ omegaconf ] ++ lib.optional isPy27 pathlib2;
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
pytest tests/
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A framework for configuring complex applications";
|
||||
homepage = https://hydra.cc;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
||||
@@ -9,7 +9,7 @@ buildPythonPackage rec {
|
||||
# pytz fake_factory django numpy pytest
|
||||
# If you need these, you can just add them to your environment.
|
||||
|
||||
version = "4.56.1";
|
||||
version = "4.41.0";
|
||||
pname = "hypothesis";
|
||||
|
||||
# Use github tarballs that includes tests
|
||||
|
||||
92
pkgs/development/python-modules/ihatemoney/default.nix
Normal file
92
pkgs/development/python-modules/ihatemoney/default.nix
Normal file
@@ -0,0 +1,92 @@
|
||||
{ buildPythonPackage, lib, fetchFromGitHub, isPy27, nixosTests
|
||||
, alembic
|
||||
, aniso8601
|
||||
, Babel
|
||||
, blinker
|
||||
, click
|
||||
, dnspython
|
||||
, email_validator
|
||||
, flask
|
||||
, flask-babel
|
||||
, flask-cors
|
||||
, flask_mail
|
||||
, flask_migrate
|
||||
, flask-restful
|
||||
, flask_script
|
||||
, flask_sqlalchemy
|
||||
, flask_wtf
|
||||
, idna
|
||||
, itsdangerous
|
||||
, jinja2
|
||||
, Mako
|
||||
, markupsafe
|
||||
, mock
|
||||
, python-dateutil
|
||||
, pytz
|
||||
, six
|
||||
, sqlalchemy
|
||||
, werkzeug
|
||||
, wtforms
|
||||
, psycopg2 # optional, for postgresql support
|
||||
, flask_testing
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ihatemoney";
|
||||
version = "4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "spiral-project";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1ai7v2i2rvswzv21nwyq51fvp8lr2x2cl3n34p11br06kc1pcmin";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
alembic
|
||||
aniso8601
|
||||
Babel
|
||||
blinker
|
||||
click
|
||||
dnspython
|
||||
email_validator
|
||||
flask
|
||||
flask-babel
|
||||
flask-cors
|
||||
flask_mail
|
||||
flask_migrate
|
||||
flask-restful
|
||||
flask_script
|
||||
flask_sqlalchemy
|
||||
flask_wtf
|
||||
idna
|
||||
itsdangerous
|
||||
jinja2
|
||||
Mako
|
||||
markupsafe
|
||||
python-dateutil
|
||||
pytz
|
||||
six
|
||||
sqlalchemy
|
||||
werkzeug
|
||||
wtforms
|
||||
psycopg2
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
flask_testing
|
||||
] ++ lib.optionals isPy27 [ mock ];
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) ihatemoney;
|
||||
};
|
||||
meta = with lib; {
|
||||
homepage = "https://ihatemoney.org";
|
||||
description = "A simple shared budget manager web application";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.beerware;
|
||||
maintainers = [ maintainers.symphorien ];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jenkins-job-builder";
|
||||
version = "3.1.0";
|
||||
version = "3.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1wcmn01md6hykblk5zz8wd5zizyisspspakz446jg2kqfv4y3q03";
|
||||
sha256 = "1njxww53d92cpgrqlr09w2n0pk6wamjcb0mvpns1mr2pn5hy1jhi";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
32
pkgs/development/python-modules/junit-xml/default.nix
Normal file
32
pkgs/development/python-modules/junit-xml/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, six
|
||||
, pytest
|
||||
, pytest-sugar
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "junit-xml";
|
||||
version = "1.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "08fw86azza6d3l3nx34kq69cpwmmfqpn7xrb8pdlxmhr1941qbv0";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
checkInputs = [ pytest pytest-sugar ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Creates JUnit XML test result documents that can be read by tools such as Jenkins";
|
||||
homepage = https://github.com/kyrus/python-junit-xml;
|
||||
maintainers = with maintainers; [ multun ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
29
pkgs/development/python-modules/m3u8/default.nix
Normal file
29
pkgs/development/python-modules/m3u8/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ lib, buildPythonPackage, python, fetchFromGitHub, requests, iso8601, bottle, pytest, pytestcov }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "m3u8";
|
||||
version = "0.5.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "globocom";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0p6wmwv1nfa5pyakq5d55w9v142z5ja3db3s3qr44kx895d9lhng";
|
||||
};
|
||||
|
||||
checkInputs = [ bottle pytest pytestcov ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/test_{parser,model,variant_m3u8}.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ requests iso8601 ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/globocom/m3u8";
|
||||
description = "Python m3u8 parser";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ Scriptkiddi ];
|
||||
};
|
||||
}
|
||||
|
||||
25
pkgs/development/python-modules/omegaconf/default.nix
Normal file
25
pkgs/development/python-modules/omegaconf/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder
|
||||
, pytest, pytestrunner, pyyaml, six, pathlib2, isPy27 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "omegaconf";
|
||||
version = "1.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "omry";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1vpcdjlq54pm8xmkv2hqm2n1ysvz2a9iqgf55x0w6slrb4595cwb";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
buildInputs = [ pytestrunner ];
|
||||
propagatedBuildInputs = [ pyyaml six ] ++ stdenv.lib.optional isPy27 pathlib2;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A framework for configuring complex applications";
|
||||
homepage = "https://github.com/omry/omegaconf";
|
||||
license = licenses.free; # prior bsd license (1988)
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
||||
@@ -84,6 +84,9 @@ in buildPythonPackage rec {
|
||||
"io"
|
||||
# KeyError Timestamp
|
||||
"test_to_excel"
|
||||
# ordering logic has changed
|
||||
"numpy_ufuncs_other"
|
||||
"order_without_freq"
|
||||
] ++ optionals isDarwin [
|
||||
"test_locale"
|
||||
"test_clipboard"
|
||||
|
||||
@@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A pluggable command-line frontend, including commands to setup package file layouts";
|
||||
homepage = http://pythonpaste.org/script/;
|
||||
homepage = https://github.com/cdent/pastescript/;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Parallel graph management and execution in heterogeneous computing";
|
||||
homepage = http://www.cacr.caltech.edu/~mmckerns/pathos.htm;
|
||||
homepage = https://github.com/uqfoundation/pathos/;
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
|
||||
|
||||
@@ -22,12 +22,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pikepdf";
|
||||
version = "1.8.1";
|
||||
version = "1.8.2";
|
||||
disabled = ! isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a57a295296820087e66a3c62569d288958f29d1a354701ace6639a7692cc3022";
|
||||
sha256 = "1n3fd7i1br1s4f90yismgfcq9ix5kcqfacr7yy0hhhrabkf2sm37";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
||||
@@ -39,7 +39,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://pivy.coin3d.org/;
|
||||
homepage = https://github.com/coin3d/pivy/;
|
||||
description = "A Python binding for Coin";
|
||||
license = licenses.bsd0;
|
||||
maintainers = with maintainers; [ gebner ];
|
||||
|
||||
@@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
meta = with stdenv.lib; {
|
||||
description = "Utilities for filesystem exploration and automated builds";
|
||||
license = licenses.bsd3;
|
||||
homepage = http://www.cacr.caltech.edu/~mmckerns/pox.htm;
|
||||
homepage = https://github.com/uqfoundation/pox/;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://pvlib-python.readthedocs.io;
|
||||
homepage = https://pvlib-python.readthedocs.io;
|
||||
description = "Simulate the performance of photovoltaic energy systems";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ jluttine ];
|
||||
|
||||
35
pkgs/development/python-modules/pycm/default.nix
Normal file
35
pkgs/development/python-modules/pycm/default.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, isPy3k, numpy, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pycm";
|
||||
version = "2.5";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sepandhaghighi";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0zfv20hd7zq95sflsivjk47b0sm7q76w7fv2i2mafn83ficzx0p0";
|
||||
};
|
||||
|
||||
# remove a trivial dependency on the author's `art` Python ASCII art library
|
||||
postPatch = ''
|
||||
rm pycm/__main__.py
|
||||
substituteInPlace setup.py --replace '=get_requires()' '=[]'
|
||||
'';
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest Test/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Multiclass confusion matrix library";
|
||||
homepage = https://pycm.ir;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
||||
@@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "pyenchant: Python bindings for the Enchant spellchecker";
|
||||
homepage = https://pythonhosted.org/pyenchant/;
|
||||
homepage = https://github.com/pyenchant/pyenchant;
|
||||
license = licenses.lgpl21;
|
||||
badPlatforms = [ "x86_64-darwin" ];
|
||||
};
|
||||
|
||||
@@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = {
|
||||
description = "User-space driver for modern FTDI devices";
|
||||
homepage = "http://github.com/eblot/pyftdi";
|
||||
homepage = "https://github.com/eblot/pyftdi";
|
||||
license = lib.licenses.lgpl2;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy3k
|
||||
, lib
|
||||
|
||||
# pythonPackages
|
||||
, pylint
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pylint-plugin-utils";
|
||||
version = "0.6";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PyCQA";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1zapmbczxs1phrwbd0yvpfxhljd2pyv4pi9rwggaq38lcnc325s7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pylint
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
python tests.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utilities and helpers for writing Pylint plugins";
|
||||
homepage = "https://github.com/PyCQA/pylint-plugin-utils";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [
|
||||
kamadorueda
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://pyparsing.wikispaces.com/;
|
||||
homepage = https://pyparsing.wikispaces.com/;
|
||||
description = "An alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, docutils
|
||||
, virtualenv
|
||||
, webtest
|
||||
, zope_component
|
||||
, hupper
|
||||
@@ -10,7 +8,6 @@
|
||||
, plaster
|
||||
, plaster-pastedeploy
|
||||
, repoze_lru
|
||||
, repoze_sphinx_autointerface
|
||||
, translationstring
|
||||
, venusian
|
||||
, webob
|
||||
@@ -28,9 +25,9 @@ buildPythonPackage rec {
|
||||
sha256 = "d80ccb8cfa550139b50801591d4ca8a5575334adb493c402fce2312f55d07d66";
|
||||
};
|
||||
|
||||
checkInputs = [ docutils virtualenv webtest zope_component ];
|
||||
checkInputs = [ webtest zope_component ];
|
||||
|
||||
propagatedBuildInputs = [ hupper PasteDeploy plaster plaster-pastedeploy repoze_lru repoze_sphinx_autointerface translationstring venusian webob zope_deprecation zope_interface ];
|
||||
propagatedBuildInputs = [ hupper PasteDeploy plaster plaster-pastedeploy repoze_lru translationstring venusian webob zope_deprecation zope_interface ];
|
||||
|
||||
# Failing tests
|
||||
# https://github.com/Pylons/pyramid/issues/1899
|
||||
|
||||
@@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A package which logs to a Python logger when an exception is raised by a Pyramid application";
|
||||
homepage = http://docs.pylonsproject.org/;
|
||||
homepage = https://docs.pylonsproject.org/;
|
||||
license = licenses.bsd0;
|
||||
maintainers = with maintainers; [ domenkozar ];
|
||||
};
|
||||
|
||||
@@ -39,7 +39,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://pysam.readthedocs.io/;
|
||||
homepage = https://pysam.readthedocs.io/;
|
||||
description = "A python module for reading, manipulating and writing genome data sets";
|
||||
maintainers = with lib.maintainers; [ unode ];
|
||||
license = lib.licenses.mit;
|
||||
|
||||
33
pkgs/development/python-modules/pysnooper/default.nix
Normal file
33
pkgs/development/python-modules/pysnooper/default.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python-toolbox
|
||||
, pytest
|
||||
, isPy27
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.3.0";
|
||||
pname = "pysnooper";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "PySnooper";
|
||||
sha256 = "14vcxrzfmfhsmdck1cb56a6lbfga15qfhlkap9mh47fgspcq8xkx";
|
||||
};
|
||||
|
||||
# test dependency python-toolbox fails with py27
|
||||
doCheck = !isPy27;
|
||||
|
||||
checkInputs = [
|
||||
python-toolbox
|
||||
pytest
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A poor man's debugger for Python";
|
||||
homepage = https://github.com/cool-RR/PySnooper;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ seqizz ];
|
||||
};
|
||||
}
|
||||
@@ -3,12 +3,14 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "python-sql";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "05ni936y0ia9xmryl7mlhbj9i80nnvq1bi4zxhb96rv7yvpb3fqb";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://python-sql.tryton.org/;
|
||||
homepage = https://python-sql.tryton.org/;
|
||||
description = "A library to write SQL queries in a pythonic way";
|
||||
maintainers = with lib.maintainers; [ johbo ];
|
||||
license = lib.licenses.bsd3;
|
||||
|
||||
32
pkgs/development/python-modules/python-toolbox/default.nix
Normal file
32
pkgs/development/python-modules/python-toolbox/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, docutils
|
||||
, fetchFromGitHub
|
||||
, isPy27
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.9.4";
|
||||
pname = "python_toolbox";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cool-RR";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1qy2sfqfrkgxixmd22v5lkrdykdfiymsd2s3xa7ndlvg084cgj6r";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
docutils
|
||||
nose
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tools for testing PySnooper";
|
||||
homepage = https://github.com/cool-RR/python_toolbox;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ seqizz ];
|
||||
};
|
||||
}
|
||||
@@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Launch jobs, organize the output, and dissect the results";
|
||||
homepage = http://pyviz.org/;
|
||||
homepage = https://pyviz.org/;
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
|
||||
@@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = {
|
||||
description = "Quantities is designed to handle arithmetic and";
|
||||
homepage = http://python-quantities.readthedocs.io/;
|
||||
homepage = https://python-quantities.readthedocs.io/;
|
||||
license = lib.licenses.bsd2;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,17 +3,20 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "relatorio";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0q93sl7ppfvjxylgq9m5n4xdgv4af7d69yxd84zszq10vjmpsg6k";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
genshi
|
||||
lxml
|
||||
python_magic
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = http://relatorio.tryton.org/;
|
||||
homepage = https://relatorio.tryton.org/;
|
||||
description = "A templating library able to output odt and pdf files";
|
||||
maintainers = with lib.maintainers; [ johbo ];
|
||||
license = lib.licenses.gpl3;
|
||||
|
||||
34
pkgs/development/python-modules/restrictedpython/default.nix
Normal file
34
pkgs/development/python-modules/restrictedpython/default.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
|
||||
# Test dependencies
|
||||
, pytest, pytest-mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "RestrictedPython";
|
||||
version = "5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1g0sffn6ifkl1w8gq15rpaqm8c7l68bsnm77wcd3flyzzydmd050";
|
||||
};
|
||||
|
||||
#propagatedBuildInputs = [ xmltodict requests ifaddr ];
|
||||
|
||||
checkInputs = [
|
||||
pytest pytest-mock
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/zopefoundation/RestrictedPython;
|
||||
description = "A restricted execution environment for Python to run untrusted code";
|
||||
license = lib.licenses.zpl21;
|
||||
maintainers = with lib.maintainers; [ juaningan ];
|
||||
};
|
||||
}
|
||||
@@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Generic test automation framework";
|
||||
homepage = http://robotframework.org/;
|
||||
homepage = https://robotframework.org/;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ bjornfor ];
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, docutils, boto3 }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, docutils, boto3, fsspec }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "s3fs";
|
||||
@@ -10,7 +10,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
buildInputs = [ docutils ];
|
||||
propagatedBuildInputs = [ boto3 ];
|
||||
propagatedBuildInputs = [ boto3 fsspec ];
|
||||
|
||||
# Depends on `moto` which has a long dependency chain with exact
|
||||
# version requirements that can't be made to work with current
|
||||
|
||||
@@ -35,7 +35,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = {
|
||||
description = "Image processing routines for SciPy";
|
||||
homepage = http://scikit-image.org;
|
||||
homepage = https://scikit-image.org;
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pure Python HDFS client";
|
||||
homepage = http://github.com/spotify/snakebite;
|
||||
homepage = https://github.com/spotify/snakebite;
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
|
||||
45
pkgs/development/python-modules/stups-fullstop/default.nix
Normal file
45
pkgs/development/python-modules/stups-fullstop/default.nix
Normal file
@@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, requests
|
||||
, stups-cli-support
|
||||
, stups-zign
|
||||
, pytest
|
||||
, pytestcov
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "stups-fullstop";
|
||||
version = "1.1.31";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zalando-stups";
|
||||
repo = "fullstop-cli";
|
||||
rev = version;
|
||||
sha256 = "1cpzz1b8g2mich7c1p74vfgw70vlxpgwi82a1ld82wv3srwqa0h3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
stups-cli-support
|
||||
stups-zign
|
||||
];
|
||||
|
||||
preCheck = "
|
||||
export HOME=$TEMPDIR
|
||||
";
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestcov
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Convenience command line tool for fullstop. audit reporting.";
|
||||
homepage = "https://github.com/zalando-stups/stups-fullstop-cli";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.mschuwalow ];
|
||||
};
|
||||
}
|
||||
@@ -28,7 +28,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = {
|
||||
description = "A Python library for symbolic mathematics";
|
||||
homepage = http://www.sympy.org/;
|
||||
homepage = https://www.sympy.org/;
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ lovek323 timokau ];
|
||||
};
|
||||
|
||||
@@ -13,7 +13,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://chrisarndt.de/projects/threadpool/;
|
||||
homepage = https://chrisarndt.de/projects/threadpool/;
|
||||
description = "Easy to use object-oriented thread pool framework";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
@@ -14,7 +14,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = {
|
||||
description = "The official Todoist Python API library";
|
||||
homepage = http://todoist-python.readthedocs.io/en/latest/;
|
||||
homepage = https://todoist-python.readthedocs.io/en/latest/;
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
|
||||
};
|
||||
|
||||
@@ -13,7 +13,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://pylonsproject.org/;
|
||||
homepage = https://pylonsproject.org/;
|
||||
description = "Utility library for i18n relied on by various Repoze and Pyramid packages";
|
||||
license = licenses.bsd0;
|
||||
maintainers = with maintainers; [ domenkozar ];
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "uncompyle6";
|
||||
version = "3.6.1";
|
||||
version = "3.6.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f8c7ba2fd486d40d9a9fc1d6ab438588d7ce1be123aabf488736ff68a05f57f7";
|
||||
sha256 = "aac071daef4b6cf95143ef08cd35d762a2bf2ea8249119a9371a91149c9996e7";
|
||||
};
|
||||
|
||||
checkInputs = [ nose pytest hypothesis six ];
|
||||
|
||||
@@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = {
|
||||
description = "Pure python download utility";
|
||||
homepage = http://bitbucket.org/techtonik/python-wget/;
|
||||
homepage = https://bitbucket.org/techtonik/python-wget/;
|
||||
license = with lib.licenses; [ unlicense ];
|
||||
maintainers = with lib.maintainers; [ prusnak ];
|
||||
};
|
||||
|
||||
@@ -6,14 +6,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "xdis";
|
||||
version = "4.2.1";
|
||||
version = "4.2.2";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rocky";
|
||||
repo = "python-xdis";
|
||||
rev = version;
|
||||
sha256 = "19mnx746k9ls2f1321fl8nkps7x9by80f753f3c5wh1j91zivq6b";
|
||||
sha256 = "0d286myx6z6cbih77h8z5p9vscxvww3gy59lmi1w6y2nq6c8sqzb";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
@@ -27,6 +27,5 @@ buildPythonPackage rec {
|
||||
description = "Python cross-version byte-code disassembler and marshal routines";
|
||||
homepage = https://github.com/rocky/python-xdis/;
|
||||
license = licenses.gpl2;
|
||||
broken = true; # doesn't support latest python3 interpreters
|
||||
};
|
||||
}
|
||||
|
||||
26
pkgs/development/python-modules/xmodem/default.nix
Normal file
26
pkgs/development/python-modules/xmodem/default.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, pytest, which, lrzsz }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "xmodem";
|
||||
version = "0.4.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tehmaze";
|
||||
repo = "xmodem";
|
||||
rev = version;
|
||||
sha256 = "0nz2gxwaq3ys1knpw6zlz3xrc3ziambcirg3fmp3nvzjdq8ma3h0";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest which lrzsz ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Pure python implementation of the XMODEM protocol";
|
||||
maintainers = with maintainers; [ emantor ];
|
||||
homepage = https://github.com/tehmaze/xmodem;
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
@@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib;{
|
||||
homepage = http://getbootstrap.com;
|
||||
homepage = https://getbootstrap.com;
|
||||
description = "Bootstrap packaged static files for python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ makefu ];
|
||||
|
||||
@@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib;{
|
||||
homepage = http://pygments.org;
|
||||
homepage = https://pygments.org;
|
||||
description = "pygments packaged static files for python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ makefu ];
|
||||
|
||||
@@ -12,6 +12,6 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Generate HTML or XML in a pythonic way. Pure python alternative to web template engines. Can fill HTML forms with default values and error messages.";
|
||||
license = [ licenses.lgpl21 ];
|
||||
homepage = http://www.yattag.org/;
|
||||
homepage = https://www.yattag.org/;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [ zope_schema ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://zopefilerepresentation.readthedocs.io/;
|
||||
homepage = https://zopefilerepresentation.readthedocs.io/;
|
||||
description = "File-system Representation Interfaces";
|
||||
license = licenses.zpl20;
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
|
||||
Reference in New Issue
Block a user