mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-19 15:11:30 +00:00
Merge branch 'master' into staging-next
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiohttp-socks";
|
||||
version = "0.3.6";
|
||||
version = "0.3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "aiohttp_socks";
|
||||
sha256 = "0js7p9qj5x6k8i2cby4c6mw6xrp4dy4m82f3n1l8rz00qibmj37j";
|
||||
sha256 = "00zqlkhfrp1jczgjppaksriidyfshnj0jvrcryn1x77dmy73m023";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ aiohttp attrs ];
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "altair";
|
||||
version = "4.0.1";
|
||||
version = "4.1.0";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "145gjad415zjfp0ciq1b19i97ibavj8fki1vzhjppqz55k4704nk";
|
||||
sha256 = "0c99q5dy6f275yg1f137ird08wmwc1z8wmvjickkf2mvyka31p9y";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -54,7 +54,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A declarative statistical visualization library for Python.";
|
||||
homepage = https://github.com/altair-viz/altair;
|
||||
homepage = "https://github.com/altair-viz/altair";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ teh ];
|
||||
platforms = platforms.unix;
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ansi";
|
||||
version = "0.1.3";
|
||||
version = "0.1.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "06y6470bzvlqys3zi2vc68rmk9n05v1ibral14gbfpgfa8fzy7pg";
|
||||
sha256 = "02sknsbx55r6nylznslmmzzkfi3rsw7akpyzi6f1bqvr2ila8p0f";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
@@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "ANSI cursor movement and graphics";
|
||||
homepage = https://github.com/tehmaze/ansi/;
|
||||
homepage = "https://github.com/tehmaze/ansi/";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -145,6 +145,7 @@ buildPythonPackage rec {
|
||||
--replace "dill>=0.2.2, <0.3" "dill" \
|
||||
--replace "configparser>=3.5.0, <3.6.0" "configparser" \
|
||||
--replace "jinja2>=2.7.3, <=2.10.0" "jinja2" \
|
||||
--replace "colorlog==4.0.2" "colorlog" \
|
||||
--replace "funcsigs==1.0.0" "funcsigs" \
|
||||
--replace "flask-swagger==0.2.13" "flask-swagger" \
|
||||
--replace "python-daemon>=2.1.1, <2.2" "python-daemon" \
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
{ stdenv, fetchPypi, buildPythonPackage
|
||||
, traits, traitsui, configobj
|
||||
{ lib, fetchPypi, buildPythonPackage
|
||||
, configobj, six, traitsui
|
||||
, nose, tables, pandas
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "apptools";
|
||||
version = "4.4.0";
|
||||
version = "4.5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1dw6vvq7lqkj7mgn3s7r5hs937kl4mj5g7jf2qgvhdld9lsc5xbk";
|
||||
sha256 = "10h52ibhr2aw076pivqxiajr9rpcr1mancg6xlpxzckcm3if02i6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ traits traitsui configobj ];
|
||||
propagatedBuildInputs = [ configobj six traitsui ];
|
||||
|
||||
checkInputs = [
|
||||
nose
|
||||
@@ -21,11 +21,12 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
checkPhase = ''HOME=$TMP nosetests'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Set of packages that Enthought has found useful in creating a number of applications.";
|
||||
homepage = https://github.com/enthought/apptools;
|
||||
maintainers = with stdenv.lib.maintainers; [ knedlsepp ];
|
||||
homepage = "https://github.com/enthought/apptools";
|
||||
maintainers = with maintainers; [ knedlsepp ];
|
||||
license = licenses.bsdOriginal;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ase";
|
||||
version = "3.19.0";
|
||||
version = "3.19.1";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a8378ab57e91cfe1ba09b3639d8409bb7fc1a40b59479c7822d206e673ad93f9";
|
||||
sha256 = "03xzpmpask2q2609kkq0hfgzsfvkyjpbjws7qx00nnfrbbnjk443";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy scipy matplotlib flask pillow psycopg2 ];
|
||||
@@ -31,7 +31,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Atomic Simulation Environment";
|
||||
homepage = https://wiki.fysik.dtu.dk/ase/;
|
||||
homepage = "https://wiki.fysik.dtu.dk/ase/";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
};
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, async-timeout, pytest, pytest-asyncio }:
|
||||
buildPythonPackage rec {
|
||||
version = "3.2.5";
|
||||
version = "3.2.7";
|
||||
pname = "asgiref";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
@@ -10,7 +10,7 @@ buildPythonPackage rec {
|
||||
owner = "django";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "040g2cghpskp427xiw9jv7c0lfj1sk5fc01dds8pi7grkk0br357";
|
||||
sha256 = "1qf29blzhh6sljaj1adc0p8cnyxh9ar6hky9ccdfbgmrk4rw5kwc";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ async-timeout ];
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "atlassian-python-api";
|
||||
version = "1.15.4";
|
||||
version = "1.15.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0vkq3sr4a23ipk74swsmc3ydg3q91asixb7hzl8mzkfpgnnyvr77";
|
||||
sha256 = "0nn3g2sb0pqfacsqcw94n8v9jbn4ip0pvhvczasfvks2w9q9sij7";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestrunner pytest ];
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-batch";
|
||||
version = "8.0.0";
|
||||
version = "9.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "1j8nibnics9vakhqiwnjv7bwril7mfyz1svcvvsrb9a4wbdd12wi";
|
||||
sha256 = "112d73gxjqng348mcvi36ska6pxyg8qc3qswvhf5x4a0lr86zjj7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "8.0.0";
|
||||
version = "9.0.0";
|
||||
pname = "azure-mgmt-storage";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "0cxcdyy974ya1yi7s14sw54rwpc8qjngxr0jqb8vxki3528phrv3";
|
||||
sha256 = "198r51av2rd1mr3q9j8jibhd14w0v8k59ipc3czsm4g1n44adgkl";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-mgmt-common ];
|
||||
|
||||
@@ -10,20 +10,21 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.20.3";
|
||||
version = "0.36.0";
|
||||
pname = "azure-storage";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "06bmw6k2000kln5jwk5r9bgcalqbyvqirmdh9gq4s6nb4fv3c0jb";
|
||||
sha256 = "0pyasfxkin6j8j00qmky7d9cvpxgis4fi9bscgclj6yrpvf14qpv";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-common dateutil requests ]
|
||||
++ pkgs.lib.optionals (!isPy3k) [ futures ];
|
||||
|
||||
postInstall = ''
|
||||
echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py
|
||||
postPatch = ''
|
||||
rm azure_bdist_wheel.py
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "azure-namespace-package = azure-nspkg" ""
|
||||
'';
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
|
||||
@@ -2,21 +2,21 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "boltons";
|
||||
version = "20.0.0";
|
||||
version = "20.1.0";
|
||||
|
||||
# No tests in PyPi Tarball
|
||||
src = fetchFromGitHub {
|
||||
owner = "mahmoud";
|
||||
repo = "boltons";
|
||||
rev = version;
|
||||
sha256 = "0scdslqi28b899i42m4c9pvhwv3kkw4wpi3n9zm5n64ggn5ngfbz";
|
||||
sha256 = "0mbxc2n10mlmpbwhg0byddl1i0s6rlrr6z9xm8zzmkv62136irqh";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
checkPhase = "pytest tests";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/mahmoud/boltons;
|
||||
homepage = "https://github.com/mahmoud/boltons";
|
||||
description = "220+ constructs, recipes, and snippets extending (and relying on nothing but) the Python standard library";
|
||||
longDescription = ''
|
||||
Boltons is a set of over 220 BSD-licensed, pure-Python utilities
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "carbon";
|
||||
version = "1.1.6";
|
||||
version = "1.1.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9ecda1469e497e3fed346b23ac94fd576e1bd9962677ab88975f4f598186e851";
|
||||
sha256 = "08ndphpcbdx2ab4f5jsn2y4l5p55h9wscbg7clhbyyh03r5hianr";
|
||||
};
|
||||
|
||||
# Carbon-s default installation is /opt/graphite. This env variable ensures
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cbor2";
|
||||
version = "5.0.1";
|
||||
version = "5.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1fid6li95jx9c3v83v8c2c8lb03jgirkk9mjmck30yxcwmlxp6a2";
|
||||
sha256 = "1ai1i0wydxfbdakqnrlpgdk4l2ps7gw0r9nihv9p2jgyqbl13kj3";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools_scm ];
|
||||
@@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pure Python CBOR (de)serializer with extensive tag support";
|
||||
homepage = https://github.com/agronholm/cbor2;
|
||||
homepage = "https://github.com/agronholm/cbor2";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ taneb ];
|
||||
};
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "cmd2";
|
||||
version = "1.0.0";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-GtSqmkWCHX/1t31sny3f2ek8uTS1oEMSM1rRXG9DuFI=";
|
||||
sha256 = "0fjwc095y97n3a7jxl9pk4h1i5hghas7y6zhgprl5lv5ixnicffk";
|
||||
};
|
||||
|
||||
LC_ALL="en_US.UTF-8";
|
||||
@@ -54,7 +54,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Enhancements for standard library's cmd module";
|
||||
homepage = https://github.com/python-cmd2/cmd2;
|
||||
homepage = "https://github.com/python-cmd2/cmd2";
|
||||
maintainers = with maintainers; [ teto ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "colorlog";
|
||||
version = "4.0.2";
|
||||
version = "4.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "3cf31b25cbc8f86ec01fef582ef3b840950dea414084ed19ab922c8b493f9b42";
|
||||
sha256 = "1lpk8zmfv8vz090h5d0hzb4n39wgasxdd3x3bpn3v1x1n9dfzaih";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
@@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Log formatting with colors";
|
||||
homepage = https://github.com/borntyping/python-colorlog;
|
||||
homepage = "https://github.com/borntyping/python-colorlog";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "denonavr";
|
||||
version = "0.7.12";
|
||||
version = "0.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "scarface-4711";
|
||||
repo = "denonavr";
|
||||
rev = version;
|
||||
sha256 = "1i7r0f8ldxpy9vkwjla6rfkaq37071d36zfhb1dwm9jgp6ggi34m";
|
||||
sha256 = "12g9w5674fmyf3f4plbhvpxpyhzw32pzwl0hvwswzrc2823xl6vx";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Deprecated";
|
||||
version = "1.2.7";
|
||||
version = "1.2.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "408038ab5fdeca67554e8f6742d1521cd3cd0ee0ff9d47f29318a4f4da31c308";
|
||||
sha256 = "029mr75wgah0z1ilsf3vf3dmjn65y4fy1jgq5qny2qsb9hvwbblw";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ wrapt ];
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-auth-ldap";
|
||||
version = "2.1.0";
|
||||
version = "2.1.1";
|
||||
disabled = isPy27;
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5f48232c85ddfa33e3573153e6080526ac2eef5e7ec9cf42b5c4ba3c62afb96d";
|
||||
sha256 = "1j1fwinbkr4khn9i869r22jfdgw2kli0jqrz5shyd36jllsvrfzs";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ ldap django ];
|
||||
@@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Django authentication backend that authenticates against an LDAP service";
|
||||
homepage = https://github.com/django-auth-ldap/django-auth-ldap;
|
||||
homepage = "https://github.com/django-auth-ldap/django-auth-ldap";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ mmai ];
|
||||
platforms = platforms.linux;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy27 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.4.2";
|
||||
version = "1.4.3";
|
||||
pname = "elementpath";
|
||||
disabled = isPy27; # uses incompatible class syntax
|
||||
|
||||
@@ -9,7 +9,7 @@ buildPythonPackage rec {
|
||||
owner = "sissaschool";
|
||||
repo = "elementpath";
|
||||
rev = "v${version}";
|
||||
sha256 = "0dd5si2ml3srn8snp7x3y4xjamssmnp05h41aqazzd9ykwmhh919";
|
||||
sha256 = "18gqqdsrdlgwn93xnxy6ifxrk7ppaimijinflphxia2qcm8czkgf";
|
||||
};
|
||||
|
||||
# avoid circular dependency with xmlschema which directly depends on this
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "etesync";
|
||||
version = "0.10.0";
|
||||
version = "0.11.1";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "09sdqviv9jyd013gxjjcw6vd4si860304haylvw4dp9kljsd94qa";
|
||||
sha256 = "0yads0s84z41hf003qk5i8222fi7096whzwfp48kf369gchp39kc";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchurl
|
||||
, uvicorn
|
||||
, starlette
|
||||
, pydantic
|
||||
@@ -12,11 +11,12 @@
|
||||
, passlib
|
||||
, aiosqlite
|
||||
, peewee
|
||||
, flask
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fastapi";
|
||||
version = "0.49.0";
|
||||
version = "0.54.0";
|
||||
format = "flit";
|
||||
disabled = !isPy3k;
|
||||
|
||||
@@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
owner = "tiangolo";
|
||||
repo = "fastapi";
|
||||
rev = version;
|
||||
sha256 = "1dw5f2xvn0fqqsy29ypba8v3444cy7dvc7gkpmnhshky0rmfni3n";
|
||||
sha256 = "17bicrpr801z71wrn9iimvh7qk6iwyxvr89ialf0s2rxxa2s0yb5";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -40,10 +40,16 @@ buildPythonPackage rec {
|
||||
passlib
|
||||
aiosqlite
|
||||
peewee
|
||||
flask
|
||||
];
|
||||
|
||||
# test_default_response_class.py: requires orjson, which requires rust toolchain
|
||||
# test_custom_response/test_tutorial001b.py: requires orjson
|
||||
# tests/test_tutorial/test_sql_databases/test_testing_databases.py: just broken, don't know why
|
||||
checkPhase = ''
|
||||
pytest --ignore=tests/test_default_response_class.py
|
||||
pytest --ignore=tests/test_default_response_class.py \
|
||||
--ignore=tests/test_tutorial/test_custom_response/test_tutorial001b.py \
|
||||
--ignore=tests/test_tutorial/test_sql_databases/test_testing_databases.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy3k
|
||||
, flask
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flask-reverse-proxy-fix";
|
||||
version = "0.2.1";
|
||||
|
||||
# master fixes flask import syntax and has no major changes
|
||||
# new release requested: https://github.com/sublee/flask-silk/pull/6
|
||||
src = fetchFromGitHub {
|
||||
owner = "antarctica";
|
||||
repo = "flask-reverse-proxy-fix";
|
||||
rev = "v${version}";
|
||||
sha256 = "1jbr67cmnryn0igv05qkvqjwrwj2rsajvvjnv3cdkm9bkgb4h5k5";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
flask
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python Flask middleware for applications running under a reverse proxy";
|
||||
maintainers = with maintainers; [ matthiasbeyer ];
|
||||
homepage = "https://github.com/antarctica/flask-reverse-proxy-fix";
|
||||
|
||||
license = {
|
||||
fullName = "Open Government Licence";
|
||||
url = "http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -4,6 +4,7 @@
|
||||
, fetchPypi
|
||||
, html5lib
|
||||
, wcwidth
|
||||
, setuptools
|
||||
, pytest
|
||||
}:
|
||||
|
||||
@@ -26,6 +27,7 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [
|
||||
html5lib
|
||||
wcwidth
|
||||
setuptools
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "graph-tool";
|
||||
format = "other";
|
||||
version = "2.30";
|
||||
version = "2.31";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://downloads.skewed.de/graph-tool/graph-tool-${version}.tar.bz2";
|
||||
sha256 = "1gy8xhwfms0psdji7vzqjbzj3l0k743aw20db27zxyq89cvz6g42";
|
||||
sha256 = "0z6n9xkb5yz7z6rlwl6z9gq3ac5vdsby90nhvvvskadsx2pagd7v";
|
||||
};
|
||||
|
||||
configureFlags = [
|
||||
|
||||
52
pkgs/development/python-modules/graspy/default.nix
Normal file
52
pkgs/development/python-modules/graspy/default.nix
Normal file
@@ -0,0 +1,52 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, isPy27
|
||||
, fetchFromGitHub
|
||||
, pytest
|
||||
, pytestcov
|
||||
, matplotlib
|
||||
, networkx
|
||||
, numpy
|
||||
, scikitlearn
|
||||
, scipy
|
||||
, seaborn
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "graspy";
|
||||
version = "0.2";
|
||||
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "neurodata";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1ss7d71lwblimg7ri88ir9w59j0ri13wl75091hjf7q0mchqr6yd";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
matplotlib
|
||||
networkx
|
||||
numpy
|
||||
scikitlearn
|
||||
scipy
|
||||
seaborn
|
||||
];
|
||||
|
||||
checkInputs = [ pytest pytestcov ];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
# `test_autogmm` takes too long; fixed in next release (graspy/pull/328)
|
||||
pytest tests -k 'not test_autogmm'
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://graspy.neurodata.io";
|
||||
description = "A package for graph statistical algorithms";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
||||
@@ -6,14 +6,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hstspreload";
|
||||
version = "2020.2.29";
|
||||
version = "2020.3.31";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sethmlarson";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1s6f9sdr5l9dqri92s8qr7r1nyvai3vnpcaw06293kc8dribi0m2";
|
||||
sha256 = "12hncxzawvdsrssl350xxn1byfm1firgd3ziqfll4xhhw403jaa9";
|
||||
};
|
||||
|
||||
# tests require network connection
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, requests
|
||||
, requests_ntlm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "IBMQuantumExperience";
|
||||
version = "2.0.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0szn743sbm3cs80982cf4994c1xcg6iz5xkhdbpm1kfv5qn1phja";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
requests_ntlm
|
||||
];
|
||||
|
||||
# test requires an API token
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A Python library for the Quantum Experience API";
|
||||
homepage = https://github.com/QISKit/qiskit-api-py;
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [
|
||||
pandaman
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ipympl";
|
||||
version = "0.3.3";
|
||||
version = "0.5.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0m5sh2ha9hlgigc5xxsy7nd0gdadx797h1i66i9z616p0r43gx7d";
|
||||
sha256 = "1sak58wcpikn4ww1k8gr2vf1hmwzfly31hzcnwiizp7l0vk40qh7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ ipywidgets matplotlib ];
|
||||
@@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Matplotlib Jupyter Extension";
|
||||
homepage = https://github.com/matplotlib/jupyter-matplotlib;
|
||||
homepage = "https://github.com/matplotlib/jupyter-matplotlib";
|
||||
maintainers = with maintainers; [ jluttine ];
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
|
||||
31
pkgs/development/python-modules/ipyvue/default.nix
Normal file
31
pkgs/development/python-modules/ipyvue/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, isPy27
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
# Python Inputs
|
||||
, ipywidgets
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ipyvue";
|
||||
version = "1.3.1";
|
||||
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "01kp7d8iyz04d0m4njhv8rg72daqmgd93bdljwyffzxg71pwq92a";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ ipywidgets ];
|
||||
|
||||
doCheck = false; # No tests in package or GitHub
|
||||
pythonImportsCheck = [ "ipyvue" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Jupyter widgets base for Vue libraries.";
|
||||
homepage = "https://github.com/mariobuikhuizen/ipyvuetify";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ drewrisinger ];
|
||||
};
|
||||
}
|
||||
29
pkgs/development/python-modules/ipyvuetify/default.nix
Normal file
29
pkgs/development/python-modules/ipyvuetify/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
# Python Inputs
|
||||
, ipyvue
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ipyvuetify";
|
||||
version = "1.2.2";
|
||||
|
||||
# GitHub version tries to run npm (Node JS)
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0vg3sdkdhba917xs6gyzwpp10gi2gszihf45cw2llwsfgb7kpfw8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ ipyvue ];
|
||||
|
||||
doCheck = false; # no tests on PyPi/GitHub
|
||||
pythonImportsCheck = [ "ipyvuetify" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Jupyter widgets based on Vuetify UI Components.";
|
||||
homepage = "https://github.com/mariobuikhuizen/ipyvuetify";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ drewrisinger ];
|
||||
};
|
||||
}
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "isbnlib";
|
||||
version = "3.9.10";
|
||||
version = "3.10.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1a389556cc5cf82b7ad95924710101e3bd06d809d6f889a3f437975b275af944";
|
||||
sha256 = "1p7iaa6ykvhalpv09svxs50hnp25j5nv1zzp42n5r7a7rw70wlf8";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
@@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Extract, clean, transform, hyphenate and metadata for ISBNs";
|
||||
homepage = https://github.com/xlcnd/isbnlib;
|
||||
homepage = "https://github.com/xlcnd/isbnlib";
|
||||
license = licenses.lgpl3;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, jinja2
|
||||
, pyyaml
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -15,8 +15,8 @@ buildPythonPackage rec {
|
||||
sha256 = "6f6f643b3fa5c0f72fbe9f07e246f8e138052b9f689e14c7c64d582c59709ae4";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
propagatedBuildInputs = [ jinja2 pyyaml ];
|
||||
doCheck = false; # tests aren't installed thus aren't found, so skip
|
||||
propagatedBuildInputs = [ jinja2 pyyaml setuptools ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/kolypto/j2cli";
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
{ buildPythonPackage, fetchPypi, setuptools_scm, six, more-itertools }:
|
||||
{ buildPythonPackage, fetchPypi, isPy27, setuptools_scm, six, more-itertools }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jaraco.classes";
|
||||
version = "3.0.0";
|
||||
version = "3.1.0";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "886ad165d495e7d18781142d6dda4f0045053a038f9e63c38ef03e2f7127bafc";
|
||||
sha256 = "1avsxzm5mwylmy2zbxq3xvn48z5djb0qy3hwv4ryncprivzri1n3";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools_scm ];
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyterlab";
|
||||
version = "2.0.0";
|
||||
version = "2.1.0";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "17p8rpihid0103fyjndk2yvg18n3ypn3hxay92ckcv10vsbiys5b";
|
||||
sha256 = "10fwpgsi996nk2hcva14k8x6znczxgfmydvfsfrs1fpmmfmrl8wc";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ jupyterlab_server notebook ];
|
||||
|
||||
@@ -11,12 +11,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyterlab_server";
|
||||
version = "1.0.7";
|
||||
version = "1.1.0";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1qnqxy6812py7xklg7xfrkadm0v4z8x6n1035i26h2z7y891ff0j";
|
||||
sha256 = "0cqpyy4jr3023c47ij08djkpx526gmz8fab45mcnws0glhp7xhms";
|
||||
};
|
||||
|
||||
checkInputs = [ requests pytest ];
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lark-parser";
|
||||
version = "0.8.2";
|
||||
version = "0.8.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lark-parser";
|
||||
repo = "lark";
|
||||
rev = version;
|
||||
sha256 = "1i585q27qlwk4rpgsh621s60im1j9ynwyz5pcc8s3ffmjam28vss";
|
||||
sha256 = "1rfybmr0rlljhc0dpd9npbw8x7r6dvnn2wvclz93rmgkzhmd3zah";
|
||||
};
|
||||
|
||||
# tests of Nearley support require js2py
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "libvirt";
|
||||
version = "6.1.0";
|
||||
version = "6.2.0";
|
||||
|
||||
src = assert version == libvirt.version; fetchgit {
|
||||
url = git://libvirt.org/libvirt-python.git;
|
||||
rev = "v${version}";
|
||||
sha256 = "0h3w1p5y4kg2hdbhxmg4lphcnmr7979iwi0m750f8vzbfccsrp7k";
|
||||
sha256 = "0a8crk29rmnw1kcgi72crb7syacdk03lkl05yand5cxs0l65jwdl";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "luftdaten";
|
||||
version = "0.6.3";
|
||||
version = "0.6.4";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "161g3s3nwbkn3s101g8l4axll0kk8xxahxnvjrjdg2cghcjq9n8n";
|
||||
sha256 = "1w1f0kmiwslg1dxn7gq0ak8f5wajlwl03r5zklshjc11j34b4d5i";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ aiohttp async-timeout ];
|
||||
@@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python API for interacting with luftdaten.info";
|
||||
homepage = https://github.com/fabaff/python-luftdaten;
|
||||
homepage = "https://github.com/fabaff/python-luftdaten";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
|
||||
@@ -23,18 +23,18 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "magic-wormhole";
|
||||
version = "0.11.2";
|
||||
version = "0.12.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "01fr4bi6kc6fz9n3c4qq892inrc3nf6p2djy65yvm7xkvdxncydf";
|
||||
sha256 = "0q41j99718y7m95zg1vaybnsp31lp6lhyqkbv4yqz5ys6jixh3qv";
|
||||
};
|
||||
|
||||
buildInputs = [ glibcLocales ];
|
||||
propagatedBuildInputs = [ spake2 pynacl six attrs twisted autobahn automat hkdf tqdm click humanize txtorcon ];
|
||||
checkInputs = [ mock magic-wormhole-transit-relay magic-wormhole-mailbox-server ];
|
||||
|
||||
postPatch = ''
|
||||
postPatch = stdenv.lib.optionalString stdenv.isLinux ''
|
||||
sed -i -e "s|'ifconfig'|'${nettools}/bin/ifconfig'|" src/wormhole/ipaddrs.py
|
||||
'';
|
||||
|
||||
@@ -56,7 +56,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Securely transfer data between computers";
|
||||
homepage = https://github.com/warner/magic-wormhole;
|
||||
homepage = "https://github.com/warner/magic-wormhole";
|
||||
license = licenses.mit;
|
||||
# Currently broken on Python 2.7. See
|
||||
# https://github.com/NixOS/nixpkgs/issues/71826
|
||||
|
||||
@@ -29,6 +29,13 @@ buildPythonPackage rec {
|
||||
checkInputs = [ lsof nose numpy msgpack coverage coveralls pymongo];
|
||||
propagatedBuildInputs = [ six ruamel_yaml ];
|
||||
|
||||
# test suite tries to decode bytes, but msgpack now returns a str
|
||||
# https://github.com/materialsvirtuallab/monty/pull/121
|
||||
postPatch = ''
|
||||
substituteInPlace tests/test_serialization.py \
|
||||
--replace ".decode('utf-8')" ""
|
||||
'';
|
||||
|
||||
preCheck = ''
|
||||
substituteInPlace tests/test_os.py \
|
||||
--replace 'self.assertEqual("/usr/bin/find", which("/usr/bin/find"))' '#'
|
||||
|
||||
24
pkgs/development/python-modules/morphys/default.nix
Normal file
24
pkgs/development/python-modules/morphys/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "morphys";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mkalinski";
|
||||
repo = "morphys";
|
||||
rev = "0642a71126c32cd26b3a443a5cac27e4e1f7240f";
|
||||
sha256 = "1da8s04m5wwih9cvkrks3ymb8v082lia47f274hxmfhi6ma3qc8b";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "morphys" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Smart conversions between unicode and bytes types";
|
||||
homepage = "https://github.com/mkalinski/morphys";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ rakesh4g ];
|
||||
};
|
||||
}
|
||||
@@ -25,13 +25,13 @@ assert advancedProcessing -> (
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "moviepy";
|
||||
version = "1.0.1";
|
||||
version = "1.0.2";
|
||||
|
||||
disabled = !(pythonAtLeast "3.4");
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1vgi9k1r4f5s9hzfzlhmmc574n80aq713ahv8cnbj3jci070lnwx";
|
||||
sha256 = "0ajw2xmcd962qw2kxxnbp08l5vgk5k78sls9bb227lw8aa51ln80";
|
||||
};
|
||||
|
||||
# No tests, require network connection
|
||||
|
||||
@@ -5,16 +5,16 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.3.0";
|
||||
version = "1.3.2";
|
||||
pname = "nest_asyncio";
|
||||
disabled = !(pythonAtLeast "3.5");
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1cbd885n3sf4qg1dv3mk1ggr5ssk48yzrzssznr92dh53g04ly7g";
|
||||
sha256 = "0l43k0lx7r6izancfhhg68x82mvws2di1a9w2y12l1a446vr9q8l";
|
||||
};
|
||||
|
||||
# tests not packaged with source dist as of 1.3.0/1.3.0, and
|
||||
# tests not packaged with source dist as of 1.3.2/1.3.2, and
|
||||
# can't check tests out of GitHub easily without specific commit IDs (no tagged releases)
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "nest_asyncio" ];
|
||||
|
||||
@@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://nipy.org/nibabel/;
|
||||
homepage = "https://nipy.org/nibabel";
|
||||
description = "Access a multitude of neuroimaging data formats";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ashgillman ];
|
||||
|
||||
@@ -33,7 +33,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://nilearn.github.io;
|
||||
homepage = "http://nilearn.github.io";
|
||||
description = "A module for statistical learning on neuroimaging data";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
|
||||
@@ -41,7 +41,7 @@ buildPythonPackage rec {
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://nipy.org/nipy/;
|
||||
homepage = "https://nipy.org/nipy";
|
||||
description = "Software for structural and functional neuroimaging analysis";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
|
||||
@@ -106,7 +106,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://nipy.org/nipype/;
|
||||
homepage = "https://nipy.org/nipype/";
|
||||
description = "Neuroimaging in Python: Pipelines and Interfaces";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ashgillman ];
|
||||
|
||||
@@ -28,7 +28,7 @@ buildPythonPackage rec {
|
||||
checkPhase = "pytest nitime/tests";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://nipy.org/nitime;
|
||||
homepage = "https://nipy.org/nitime";
|
||||
description = "Algorithms and containers for time-series analysis in time and spectral domains";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.bcdarwin ];
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "numpy-stl";
|
||||
version = "2.10.1";
|
||||
version = "2.11.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f6b529b8a8112dfe456d4f7697c7aee0aca62be5a873879306afe4b26fca963c";
|
||||
sha256 = "1z6b740fpkr8fbbhw79l29hmwf76xcda6ni804sqz0jghm7883yy";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytestrunner ];
|
||||
|
||||
32
pkgs/development/python-modules/pam/default.nix
Normal file
32
pkgs/development/python-modules/pam/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pam
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-pam";
|
||||
version = "1.8.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FirefighterBlu3";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0gp7vzd332j7jwndcnz7kc9j283d6lyv32bndd1nqv9ghzv69sxp";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
pam
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed "s|find_library(\"pam\")|\"${pam}/lib/libpam.so\"|g" -i pam.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python pam module supporting py3 (and py2)";
|
||||
homepage = "https://github.com/FirefighterBlu3/python-pam";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mkg20001 ];
|
||||
};
|
||||
}
|
||||
@@ -1,15 +1,15 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchurl
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.17.2"; # note: `conan` package may require a hardcoded one
|
||||
version = "1.17.4"; # note: `conan` package may require a hardcoded one
|
||||
pname = "patch-ng";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/${pname}/${pname}-${version}.tar.gz";
|
||||
sha256 = "02nadk70sk51liv0qav88kx8rzfdjc1x52023zayanz44kkcjl2i";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1kja1nn08w0k8k6j4kad48k581hh9drvjjb8x60v9j13sxdvqyk2";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pglast";
|
||||
version = "1.8";
|
||||
version = "1.10";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "115067100fbb9eb36f530d94b64b4e1e36a8d304537af0847d562ff9ed399c05";
|
||||
sha256 = "a26ba77127b363446955e8a5317b3194defb1c1bb9d2ed5e7d4830fd4f066d97";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pony";
|
||||
version = "0.7.12";
|
||||
version = "0.7.13";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "02njpqwfvzxj9icabil8ycmfx8avzih3g1kcdif290qgsy57a28r";
|
||||
sha256 = "1fqc45m106xfy4hhzzwb8p7s2fh5x2x7s143dib84lbszqwp77la";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyatspi";
|
||||
version = "2.34.0";
|
||||
version = "2.36.0";
|
||||
format = "other";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0j3f75j0zd6ca8msg7yr19qsfirqkn9fk8pqbjnlhqrpri455g4p";
|
||||
sha256 = "UTbBv5GeEB1OyQGiduhupg5Ygaj/d2PjVvGYQOX/4d0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyhcl";
|
||||
version = "0.4.1";
|
||||
version = "0.4.2";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "virtuald";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "13nszg2plfvza3syki1rxnx3k3h90qq4wkgv86l1xpz31k3pf6k4";
|
||||
sha256 = "01y5fn3pis43i0w0858wmrc8azfinp07a16ixglmg28gg07c0zkd";
|
||||
};
|
||||
|
||||
# https://github.com/virtuald/pyhcl/blob/51a7524b68fe21e175e157b8af931016d7a357ad/setup.py#L64
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, mupdf, swig }:
|
||||
buildPythonPackage rec {
|
||||
pname = "PyMuPDF";
|
||||
version = "1.16.12";
|
||||
version = "1.16.16";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0mywnhn8ylm9xy23yfgnxiq4akk1rq3n7bl1m7pw6imsgbdhzrwg";
|
||||
sha256 = "1rw4wjbsp8pnkkqcn097psjd6qinv70pjzvrbns04maybhn4ni6v";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
|
||||
29
pkgs/development/python-modules/pynanoleaf/default.nix
Normal file
29
pkgs/development/python-modules/pynanoleaf/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy3k, requests }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pynanoleaf";
|
||||
version = "0.0.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "2ced000e3c37f4e2ce0ea177d924af71c97007de9e4fd0ef37dcd7b4a6d1b622";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
# pynanoleaf does not contain tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pynanoleaf"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Oro/pynanoleaf";
|
||||
description = "A Python3 wrapper for the Nanoleaf API, capable of controlling both Nanoleaf Aurora and Nanoleaf Canvas";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ oro ];
|
||||
};
|
||||
}
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyroute2";
|
||||
version = "0.5.10";
|
||||
version = "0.5.11";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0akls1w67v17dmgr07n6rr5xy6yyj6p83ss05033gk1c3mfsbb1r";
|
||||
sha256 = "1wjamijkg2pp9mgj5k4qw3jl2i3ajikkps0zp5c52wcxm3qmks85";
|
||||
};
|
||||
|
||||
# requires root priviledges
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-html";
|
||||
version = "2.1.0";
|
||||
version = "2.1.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "14cy5iixi6i8i5r5xvvkhwk48zgxnb1ypbp0g1343mwfdihshic6";
|
||||
sha256 = "1iap9rzxx9pkvz6im3px8xj37pb098lvvf9yiqh93qq5w68w6jka";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools_scm ];
|
||||
|
||||
22
pkgs/development/python-modules/python-baseconv/default.nix
Normal file
22
pkgs/development/python-modules/python-baseconv/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, lib
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "python-baseconv";
|
||||
version = "1.2.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version ;
|
||||
sha256 = "0539f8bd0464013b05ad62e0a1673f0ac9086c76b43ebf9f833053527cd9931b";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "baseconv" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to convert numbers from base 10 integers to base X strings and back again";
|
||||
homepage = "https://github.com/semente/python-baseconv";
|
||||
license = licenses.psfl;
|
||||
maintainers = with maintainers; [ rakesh4g ];
|
||||
};
|
||||
}
|
||||
@@ -1,7 +1,6 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, lxml
|
||||
, oath
|
||||
, pycryptodome
|
||||
, requests
|
||||
@@ -10,15 +9,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-vipaccess";
|
||||
version = "0.10.3";
|
||||
version = "0.12";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1m6b7qipiaj6pz86kjhyq5m5jxxijpk58gpsdkj5bn0wjl6x1pg2";
|
||||
sha256 = "0g6mmf896wp036263zkkvi3ff59zcrzssjsw7csfmbisiszgdnrj";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
lxml
|
||||
oath
|
||||
pycryptodome
|
||||
requests
|
||||
|
||||
@@ -95,5 +95,9 @@ buildPythonPackage rec {
|
||||
homepage = "https://github.com/QISKit/qiskit-aer";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ drewrisinger ];
|
||||
# Doesn't build on aarch64 (libmuparserx issue).
|
||||
# Can fix by building muparserx from source (https://github.com/beltoforion/muparserx)
|
||||
# or in future updates (e.g. Raspberry Pi enabled via https://github.com/Qiskit/qiskit-aer/pull/651 & https://github.com/Qiskit/qiskit-aer/pull/660)
|
||||
platforms = platforms.x86_64;
|
||||
};
|
||||
}
|
||||
|
||||
131
pkgs/development/python-modules/qiskit-aqua/default.nix
Normal file
131
pkgs/development/python-modules/qiskit-aqua/default.nix
Normal file
@@ -0,0 +1,131 @@
|
||||
{ lib
|
||||
, pythonOlder
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, cvxopt
|
||||
, dlx
|
||||
, docplex
|
||||
, fastdtw
|
||||
, h5py
|
||||
, networkx
|
||||
, numpy
|
||||
, psutil
|
||||
, qiskit-ignis
|
||||
, qiskit-terra
|
||||
, quandl
|
||||
, scikitlearn
|
||||
# Check Inputs
|
||||
, parameterized
|
||||
, pytestCheckHook
|
||||
, qiskit-aer
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "qiskit-aqua";
|
||||
version = "0.6.5";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
# Pypi's tarball doesn't contain tests
|
||||
src = fetchFromGitHub {
|
||||
owner = "Qiskit";
|
||||
repo = "qiskit-aqua";
|
||||
rev = version;
|
||||
sha256 = "03c0gl2qxyngf3cccjghjb0bhp0w78sdbvhim08cimf3cd577ldz";
|
||||
};
|
||||
|
||||
# Optional packages: pyscf (see below NOTE) & pytorch. Can install via pip/nix if needed.
|
||||
propagatedBuildInputs = [
|
||||
cvxopt
|
||||
docplex
|
||||
dlx # Python Dancing Links package
|
||||
fastdtw
|
||||
h5py
|
||||
networkx
|
||||
numpy
|
||||
psutil
|
||||
qiskit-terra
|
||||
qiskit-ignis
|
||||
quandl
|
||||
scikitlearn
|
||||
];
|
||||
|
||||
# *** NOTE ***
|
||||
# We make pyscf optional in this package, due to difficulties packaging it in Nix (test failures, complicated flags, etc).
|
||||
# See nixpkgs#78772, nixpkgs#83447. You are welcome to try to package it yourself,
|
||||
# or use the Nix User Repository version (https://github.com/drewrisinger/nur-packages).
|
||||
# It can also be installed at runtime from the pip wheel.
|
||||
# We disable appropriate tests below to allow building without pyscf installed
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "pyscf; sys_platform == 'linux' or (python_version < '3.8' and sys_platform != 'win32')" ""
|
||||
|
||||
# Add ImportWarning when running qiskit.chemistry (pyscf is a chemistry package) that pyscf is not included
|
||||
echo -e "\nimport warnings\ntry: import pyscf;\nexcept:\n " \
|
||||
"warnings.warn('pyscf is not supported on Nixpkgs so some qiskit features will fail." \
|
||||
"You must install it yourself via pip or add it to your environment from the Nix User Repository." \
|
||||
"See https://github.com/NixOS/nixpkgs/pull/83447 for details', ImportWarning)\n" \
|
||||
>> qiskit/chemistry/__init__.py
|
||||
'';
|
||||
|
||||
checkInputs = [ parameterized qiskit-aer pytestCheckHook ];
|
||||
dontUseSetuptoolsCheck = true;
|
||||
pythonImportsCheck = [
|
||||
"qiskit.aqua"
|
||||
"qiskit.aqua.algorithms"
|
||||
"qiskit.chemistry"
|
||||
"qiskit.finance"
|
||||
"qiskit.ml"
|
||||
"qiskit.optimization"
|
||||
];
|
||||
pytestFlagsArray = [
|
||||
# Disabled b/c missing pyscf
|
||||
"--ignore=test/chemistry/test_qeom_ee.py"
|
||||
"--ignore=test/chemistry/test_qeom_vqe.py"
|
||||
"--ignore=test/chemistry/test_vqe_uccsd_adapt.py"
|
||||
|
||||
# Following tend to be slow tests, all pass
|
||||
"--ignore=test/aqua/test_vqc.py"
|
||||
"--ignore=test/aqua/test_hhl.py"
|
||||
"--ignore=test/aqua/test_qgan.py"
|
||||
"--ignore=test/aqua/test_mcr.py"
|
||||
"--ignore=test/aqua/test_mcu1.py"
|
||||
"--ignore=test/aqua/test_vqe.py"
|
||||
];
|
||||
disabledTests = [
|
||||
# Disabled due to missing pyscf
|
||||
"test_validate" # test/chemistry/test_inputparser.py
|
||||
|
||||
# Disabling slow tests > 10 seconds
|
||||
"test_clique_vqe"
|
||||
"test_delta_3_qasm"
|
||||
"test_evaluate_qasm_mode"
|
||||
"test_evolve_1_suzuki"
|
||||
"test_exact_cover_vqe"
|
||||
"test_exchangedata"
|
||||
"test_expected_value_0_statevector"
|
||||
"test_expected_value_1_qasm"
|
||||
"test_expected_value_2_statevector"
|
||||
"test_graph_partition_vqe"
|
||||
"test_lookup_rotation"
|
||||
"test_mct_with_dirty_ancillae_15"
|
||||
"test_mcrz_11"
|
||||
"test_measurement_error_mitigation_auto_refresh"
|
||||
"test_qgan_training"
|
||||
"test_qsvm_multiclass"
|
||||
"test_shor_factoring_0"
|
||||
"test_vertex_cover_vqe"
|
||||
"test_vqc_with_raw_feature_vector_on_wine"
|
||||
"test_vqe_2_iqpe"
|
||||
"test_vqe_qasm"
|
||||
"test_wikipedia"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An extensible library of quantum computing algorithms";
|
||||
homepage = "https://github.com/QISKit/qiskit-aqua";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ drewrisinger ];
|
||||
};
|
||||
}
|
||||
@@ -8,15 +8,25 @@
|
||||
, requests
|
||||
, requests_ntlm
|
||||
, websockets
|
||||
# Visualization inputs
|
||||
, ipykernel
|
||||
, ipyvuetify
|
||||
, ipywidgets
|
||||
, matplotlib
|
||||
, nbconvert
|
||||
, nbformat
|
||||
, plotly
|
||||
, pyperclip
|
||||
, seaborn
|
||||
# check inputs
|
||||
, pytestCheckHook
|
||||
, vcrpy
|
||||
, pproxy
|
||||
, vcrpy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "qiskit-ibmq-provider";
|
||||
version = "0.5.0";
|
||||
version = "0.6.0";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
@@ -24,7 +34,7 @@ buildPythonPackage rec {
|
||||
owner = "Qiskit";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1jhgsfspmry0qk7jkcryn4225j2azys3rm99agk6mh0jzwrvx4am";
|
||||
sha256 = "0arbhwaa2kx04jbrj6hk3vvn92wdk6lrr9zx36pr6p22r0yyxnj9";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -34,6 +44,16 @@ buildPythonPackage rec {
|
||||
requests
|
||||
requests_ntlm
|
||||
websockets
|
||||
# Visualization/Jupyter inputs
|
||||
ipykernel
|
||||
ipyvuetify
|
||||
ipywidgets
|
||||
matplotlib
|
||||
nbconvert
|
||||
nbformat
|
||||
plotly
|
||||
pyperclip
|
||||
seaborn
|
||||
];
|
||||
|
||||
# websockets seems to be pinned b/c in v8+ it drops py3.5 support. Not an issue here (usually py3.7+, and disabled for older py3.6)
|
||||
@@ -43,18 +63,24 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
# Most tests require credentials to run on IBMQ
|
||||
checkInputs = [ pytestCheckHook vcrpy pproxy ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pproxy
|
||||
vcrpy
|
||||
];
|
||||
dontUseSetuptoolsCheck = true;
|
||||
|
||||
pythonImportsCheck = [ "qiskit.providers.ibmq" ];
|
||||
disabledTests = [ "test_old_api_url" "test_non_auth_url" "test_non_auth_url_with_hub" ]; # tests require internet connection
|
||||
# skip tests that require IBMQ credentials, vs failing.
|
||||
preCheck = ''
|
||||
pushd /build/source # run pytest from /build vs $out
|
||||
substituteInPlace test/decorators.py --replace "Exception('Could not locate valid credentials.')" "SkipTest('No IBMQ Credentials provided for tests')"
|
||||
'';
|
||||
postCheck = ''
|
||||
popd
|
||||
'';
|
||||
# These disabled tests require internet connection, aren't skipped elsewhere
|
||||
disabledTests = [
|
||||
"test_old_api_url"
|
||||
"test_non_auth_url"
|
||||
"test_non_auth_url_with_hub"
|
||||
];
|
||||
|
||||
# Skip tests that rely on internet access (mostly to IBM Quantum Experience cloud).
|
||||
# Options defined in qiskit.terra.test.testing_options.py::get_test_options
|
||||
QISKIT_TESTS = "skip_online";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Qiskit provider for accessing the quantum devices and simulators at IBMQ";
|
||||
|
||||
@@ -1,65 +1,49 @@
|
||||
{ stdenv
|
||||
, isPy3k
|
||||
{ lib
|
||||
, pythonOlder
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, numpy
|
||||
, scipy
|
||||
, sympy
|
||||
, matplotlib
|
||||
, networkx
|
||||
, ply
|
||||
, pillow
|
||||
, cffi
|
||||
, requests
|
||||
, requests_ntlm
|
||||
, IBMQuantumExperience
|
||||
, jsonschema
|
||||
, psutil
|
||||
, cmake
|
||||
, llvmPackages
|
||||
, fetchFromGitHub
|
||||
# Python Inputs
|
||||
, qiskit-aer
|
||||
, qiskit-aqua
|
||||
, qiskit-ibmq-provider
|
||||
, qiskit-ignis
|
||||
, qiskit-terra
|
||||
# Check Inputs
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "qiskit";
|
||||
version = "0.14.0";
|
||||
# NOTE: This version denotes a specific set of subpackages. See https://qiskit.org/documentation/release_notes.html#version-history
|
||||
version = "0.17.0";
|
||||
|
||||
disabled = !isPy3k;
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d086a21d0eee61bb12e1f2cd6148a7292005fd10584ca33d6c404dd5c53ba95f";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Qiskit";
|
||||
repo = "qiskit";
|
||||
rev = version;
|
||||
sha256 = "1cnjcvvzklyq102fipqnwd5ham0sp0451gp7j79cwwsxzvji6pcc";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin llvmPackages.openmp;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
matplotlib
|
||||
networkx
|
||||
ply
|
||||
scipy
|
||||
sympy
|
||||
pillow
|
||||
cffi
|
||||
requests
|
||||
requests_ntlm
|
||||
IBMQuantumExperience
|
||||
jsonschema
|
||||
psutil
|
||||
qiskit-aer
|
||||
qiskit-aqua
|
||||
qiskit-ibmq-provider
|
||||
qiskit-ignis
|
||||
qiskit-terra
|
||||
];
|
||||
|
||||
# Pypi's tarball doesn't contain tests
|
||||
doCheck = false;
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
dontUseSetuptoolsCheck = true;
|
||||
# following doesn't work b/c they are distributed across different nix sitePackages dirs. Tested with pytest though.
|
||||
# pythonImportsCheck = [ "qiskit" "qiskit.terra" "qiskit.ignis" "qiskit.aer" "qiskit.aqua" ];
|
||||
|
||||
meta = {
|
||||
description = "Quantum Software Development Kit for writing quantum computing experiments, programs, and applications";
|
||||
homepage = https://github.com/QISKit/qiskit-terra;
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
maintainers = with stdenv.lib.maintainers; [
|
||||
pandaman
|
||||
];
|
||||
# Needs to be updated and have its new dependencies added
|
||||
broken = true;
|
||||
description = "Software for developing quantum computing programs";
|
||||
homepage = "https://qiskit.org";
|
||||
downloadPage = "https://github.com/QISKit/qiskit/releases";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ drewrisinger pandaman ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "simplekml";
|
||||
version = "1.3.3";
|
||||
version = "1.3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "08l24gfql83yjcdqb51nnnvckbnfb7bl89am4q9zr0fslrbcn3vf";
|
||||
sha256 = "17h48r1dsfz4g9xcxh1xq85h20hiz7qzzymc1gla96bj2wh4wyv5";
|
||||
};
|
||||
|
||||
doCheck = false; # no tests are defined in 1.3.3
|
||||
doCheck = false; # no tests are defined in 1.3.5
|
||||
|
||||
meta = with lib; {
|
||||
description = "Generate KML with as little effort as possible";
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "soco";
|
||||
version = "0.18.1";
|
||||
version = "0.19";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "de033ad69f86a655f50d407648b3aa2dd9647c69fd7bb317e9adfcd38a1adf4b";
|
||||
sha256 = "0dgca286vhrabm4r4jj545k895z6w2c70ars06vrjhf9cpgg7qck";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = http://python-soco.com/;
|
||||
homepage = "http://python-soco.com/";
|
||||
description = "A CLI and library to control Sonos speakers";
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "SoMaJo";
|
||||
version = "2.0.4";
|
||||
version = "2.0.5";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tsproisl";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "126jaslg8cfap2is3sy3v13xpl9drb80yc5lfsm1nw5s2xcxklqw";
|
||||
sha256 = "01zvmqilnndh2b257z7bhcc7av5vhjm1g8gmdiiw15gcd2xfmqjs";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ regex ];
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spotipy";
|
||||
version = "2.9.0";
|
||||
version = "2.10.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "163z3j0sd9a7cc9pv9hcrh230gisvvi2fxabh1f6nzhfr8avrncr";
|
||||
sha256 = "0s2f9yxhfkfipbb06965gfjq4lg0khp5vcykijrx6dzxyh20vggm";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spyder";
|
||||
version = "4.1.1";
|
||||
version = "4.1.2";
|
||||
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "13ajjifyf7w895vpl0h9r59m73zisby81xjw2c5pk49fh5l6ycs9";
|
||||
sha256 = "0qyisrs9xkzx4hbyin9nasvl10qk7jlxrmyasxycz4zwnvzfvxzf";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pyqtwebengine.wrapQtAppsHook ];
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sqlmap";
|
||||
version = "1.4.3";
|
||||
version = "1.4.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0qp9j8c92zbkwlbv5ywrszil6kvlkkf3wkc4krh2vdsrwd9cnf2g";
|
||||
sha256 = "0chnb421g4bsshbkx6d1xnhsda4250jsn8zyklg5p1vqyr12mhik";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -26,14 +26,14 @@ buildPythonPackage rec {
|
||||
# https://github.com/tiangolo/fastapi/issues/683. Please update when
|
||||
# possible. FastAPI is currently Starlette's only dependent.
|
||||
|
||||
version = "0.12.9";
|
||||
version = "0.13.2";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "encode";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0w44s8ynzy8w8dgm755c8jina9i4dd87vqkcv7jc1kwkg384w9i5";
|
||||
sha256 = "1ls8d121zyyhry5ji7gf7vjvhyqdpr4za3qx1llq48943fmaxxpq";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -59,7 +59,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://www.starlette.io/;
|
||||
homepage = "https://www.starlette.io/";
|
||||
description = "The little ASGI framework that shines";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ wd15 ];
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "stripe";
|
||||
version = "2.43.0";
|
||||
version = "2.44.0";
|
||||
|
||||
# Tests require network connectivity and there's no easy way to disable
|
||||
# them. ~ C.
|
||||
@@ -10,7 +10,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0jikvcapg2xp3w824wz0wn74mx91nl3vmd92a10il3gli2p4wcnp";
|
||||
sha256 = "0aaaf8dp989im2n0cdmslq0ys4ia970yl1irhxiwwqarmh6fap5i";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchPypi, buildPythonPackage
|
||||
, traits, pyface, wxPython
|
||||
{ lib, fetchPypi, buildPythonPackage
|
||||
, traits, pyface, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -11,14 +11,14 @@ buildPythonPackage rec {
|
||||
sha256 = "0kw1xy5ax6l0lzmk7pfzjw6qs0idv78k3118my7cbvw1n5iiff28";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ traits pyface wxPython ];
|
||||
propagatedBuildInputs = [ traits pyface six ];
|
||||
|
||||
doCheck = false; # Needs X server
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Traits-capable windowing framework";
|
||||
homepage = "https://github.com/enthought/traitsui";
|
||||
maintainers = with stdenv.lib.maintainers; [ knedlsepp ];
|
||||
maintainers = with maintainers; [ knedlsepp ];
|
||||
license = licenses.bsdOriginal;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "txtorcon";
|
||||
version = "19.1.0";
|
||||
version = "20.0.0";
|
||||
|
||||
checkInputs = [ pytest mock lsof GeoIP ];
|
||||
propagatedBuildInputs = [
|
||||
@@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "19ayn5w9ayxbb1m84l1s9qlb6kv7sz6sg34mzy8bnidc7qnfbn15";
|
||||
sha256 = "0yipb41w2icbj50d3z1j92d8w6xhbqd1rnmd31vzb5k3g20x0b0j";
|
||||
};
|
||||
|
||||
# zope.interface issue
|
||||
@@ -28,7 +28,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = {
|
||||
description = "Twisted-based Tor controller client, with state-tracking and configuration abstractions";
|
||||
homepage = https://github.com/meejah/txtorcon;
|
||||
homepage = "https://github.com/meejah/txtorcon";
|
||||
maintainers = with lib.maintainers; [ jluttine ];
|
||||
# Currently broken on Python 2.7. See
|
||||
# https://github.com/NixOS/nixpkgs/issues/71826
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
{ buildPythonPackage
|
||||
, isPy27
|
||||
, fetchPypi
|
||||
, pytestrunner
|
||||
, setuptools_scm
|
||||
, singledispatch
|
||||
, pytest
|
||||
, lib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "variants";
|
||||
version = "0.2.0";
|
||||
@@ -21,12 +24,12 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
] ++ lib.optionals isPy27 [ singledispatch ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library providing syntactic sugar for creating variant forms of a canonical function";
|
||||
homepage = "https://github.com/python-variants/variants";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ rakesh4g ];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
25
pkgs/development/python-modules/varint/default.nix
Normal file
25
pkgs/development/python-modules/varint/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, lib
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "varint";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version ;
|
||||
sha256 = "a6ecc02377ac5ee9d65a6a8ad45c9ff1dac8ccee19400a5950fb51d594214ca5";
|
||||
};
|
||||
|
||||
# No tests are available
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "varint" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A basic varint implementation in python";
|
||||
homepage = "https://github.com/fmoo/python-varint";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ rakesh4g ];
|
||||
};
|
||||
}
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "virtualenv-clone";
|
||||
version = "0.5.3";
|
||||
version = "0.5.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c88ae171a11b087ea2513f260cdac9232461d8e9369bcd1dc143fc399d220557";
|
||||
sha256 = "0absh96fsxk9di7ir76f5djyfm2c214wnyk53avrhjy8akflhpk6";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/edwardgeorge/virtualenv-clone;
|
||||
homepage = "https://github.com/edwardgeorge/virtualenv-clone";
|
||||
description = "Script to clone virtualenvs";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, Babel
|
||||
, cssselect
|
||||
, dateutil
|
||||
, feedparser
|
||||
@@ -24,11 +25,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "weboob";
|
||||
version = "1.5";
|
||||
version = "2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1c9z9gid1mbm1cakb2wj6jjkbrmji8y8ac46iqpih9x1h498bhbs";
|
||||
sha256 = "1c69vzf8sg8471lcaafpz9iw2q3rfj5hmcpqrs2k59fkgbvy32zw";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -44,13 +45,12 @@ buildPythonPackage rec {
|
||||
}; p' weboob/browser/browsers.py weboob/browser/pages.py
|
||||
'';
|
||||
|
||||
setupPyBuildFlags = ["--qt" "--xdg"];
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
||||
nativeBuildInputs = [ pyqt5 ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
Babel
|
||||
cssselect
|
||||
dateutil
|
||||
feedparser
|
||||
@@ -77,7 +77,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://weboob.org;
|
||||
homepage = "http://weboob.org";
|
||||
description = "Collection of applications and APIs to interact with websites without requiring the user to open a browser";
|
||||
license = lib.licenses.agpl3;
|
||||
};
|
||||
|
||||
@@ -2,18 +2,18 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "whisper";
|
||||
version = "1.1.6";
|
||||
version = "1.1.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "8dbb3b7cf4a02a080162467fff5cd38bf77940c3e2b25f7c4f78529427ca9cfe";
|
||||
sha256 = "08biw3g6x6p2aa1nlvfazbgcs1xvf6m0hvskdjhgwnsbwxk1xq46";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
checkInputs = [ mock ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://graphite.wikidot.com/;
|
||||
homepage = "http://graphite.wikidot.com/";
|
||||
description = "Fixed size round-robin style database";
|
||||
maintainers = with maintainers; [ offline basvandijk ];
|
||||
license = licenses.asl20;
|
||||
|
||||
@@ -6,14 +6,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "xdis";
|
||||
version = "4.2.3";
|
||||
version = "4.2.4";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rocky";
|
||||
repo = "python-xdis";
|
||||
rev = version;
|
||||
sha256 = "0yjb07gk74qsag4ahjrbqgl7pgr2kvm43c7yrv10mwxk0ax51337";
|
||||
sha256 = "0nq6ijmj48c2dk75vmb040wgvr4y7wyjxrcm2dyvcwfk2h6phwri";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "yamllint";
|
||||
version = "1.20.0";
|
||||
version = "1.21.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1gx3f9wcf8af9cz2v3x3196pab34n8mlqk5iswahhzpxc9i2p4bn";
|
||||
sha256 = "14yijcnmanyd3s2ir38sxl07rzpxgpgw9s6b8sy68jrl7n5nj7ky";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
@@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A linter for YAML files";
|
||||
homepage = https://github.com/adrienverge/yamllint;
|
||||
homepage = "https://github.com/adrienverge/yamllint";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ mikefaille ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user