Merge branch 'master' into staging
This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "acoustics";
|
||||
version = "0.2.0.post2";
|
||||
version = "0.2.1";
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ numpy scipy matplotlib pandas tabulate ];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c0ca4d7ca67fd867c3a7e34232a98a1fc210ee7ff845f3d2eed445a01737b2ff";
|
||||
sha256 = "d7cec62d3e7a7eb26026f2aacc726fb1dd0b044574cbdee83da654b847543c20";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aniso8601";
|
||||
version = "6.0.0";
|
||||
version = "7.0.0";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Parses ISO 8601 strings.";
|
||||
@@ -17,6 +17,6 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1bylfskk08ahyma25i8w3mcd0kywpxqx6icv5p7m1z0i8srak9mq";
|
||||
sha256 = "07jgf55yq2j2q76gaj3hakflnxg8yfkarzvrmq33i1dp6xk2ngai";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "astropy-helpers";
|
||||
version = "3.1.1";
|
||||
version = "3.2.1";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
@@ -14,7 +14,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "214cc37cffd7a21e573c4543e47b5289b07b2b77511627802d9778a4c96a5caf";
|
||||
sha256 = "1klxyfvl9hbhy37n1z3mb0vm5pmd7hbsnzhjkvigz3647hmfzva6";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "astropy";
|
||||
version = "3.1.2";
|
||||
version = "3.2.1";
|
||||
|
||||
disabled = !isPy3k; # according to setup.py
|
||||
|
||||
@@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1plyx3gcsff02g4yclvhlcdj8bh1lnm98d7h6wdabl36jvnahy2a";
|
||||
sha256 = "706c0457789c78285e5464a5a336f5f0b058d646d60f4e5f5ba1f7d5bf424b28";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pytest numpy ]; # yes it really has pytest in install_requires
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "awkward";
|
||||
version = "0.10.3";
|
||||
version = "0.11.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0vq27db5k8cc5jpbdrl531gjhig0f9iy0i7z6ks81lz1a2mkvjik";
|
||||
sha256 = "07m797jc5lpaj6m8469d67l2s43jf8w0mfhy0hfvbfs4mk0cjix0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
|
||||
@@ -15,6 +15,10 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [ pytest glibcLocales ];
|
||||
|
||||
# Necessary for the tests to pass on Darwin with sandbox enabled.
|
||||
# Black starts a local server and needs to bind a local address.
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
# Don't know why these tests fails
|
||||
checkPhase = ''
|
||||
LC_ALL="en_US.UTF-8" pytest \
|
||||
|
||||
@@ -29,7 +29,7 @@ let
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "cf35d2a87b11aba29c59e47e843deba1be9649114e792e830252ed8f7c35f963";
|
||||
sha256 = "0qzr6my8zvaj0a1jwyaf254rdgm1xcyq8zp4b6fa5aqigfld4dfg";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -6,7 +6,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "25968ace0c62cb773ed85d4ddbe07fd5aee68f4455909243ffb3ac12608cf82e";
|
||||
sha256 = "0bpqiih15b5kzx1r542m8j7ydbnmgzhdnkaxv0z7gjv21k78m5i5";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
src = fetchPypi {
|
||||
inherit pname version format;
|
||||
python = "py3";
|
||||
sha256 = "134b8y498bq5fp4863hj9058wr7mcw0xgl74br0f1dy9n7jdcl39";
|
||||
sha256 = "1ii01py78wkda9x4lqm0bxqmb4dhvbdmmz7sncm1lw7bhmhqh84w";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1yh8xij3wizz0f88chjpdijm7i35ql87g84ph3f76sqyr6aj6ckw";
|
||||
sha256 = "1y523hadw3398jwfpmi2f4g0s6dp9y191qzycrsbvbj147dp0qra";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ buildbot-pkg ];
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "04iihy1s9r4n5jlk57pdjy3yvp6zym2iv2bgqjhw6fy0hff5j8ys";
|
||||
sha256 = "1prfr03igcmagydvxqhrh6k6wz16vk6fwgrm143jh3xmml6f16ll";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ buildbot-pkg ];
|
||||
@@ -68,7 +68,7 @@
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0bcilhcz9xnr8799d5j4sm6qz8pdjlckdck7a282nfs64liajsrh";
|
||||
sha256 = "1xkqiwxjppyns2s0239zzvbnr8b7vdakypj95mca89mmnyniflxj";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ buildbot-pkg ];
|
||||
@@ -88,7 +88,7 @@
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "13lr7lzi9sv0s6xrfalq0dkcys6fp7hn0787rjhnz9gc7x83aqjv";
|
||||
sha256 = "1jhvq61x0bzh03nd2ac11swdjn0ndnx3ac7x9v3m3v0pgr08rc28";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ buildbot-pkg ];
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, setuptoolsTrial, mock, twisted, future }:
|
||||
{ lib, buildPythonPackage, fetchPypi, setuptoolsTrial, mock, twisted, future,
|
||||
coreutils }:
|
||||
|
||||
buildPythonPackage (rec {
|
||||
pname = "buildbot-worker";
|
||||
@@ -6,7 +7,7 @@ buildPythonPackage (rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a26c68debb70f15abee307aff7b225e91a2eedca9c8d571212c391e615c36f53";
|
||||
sha256 = "0lvgqcayd4f32895g3cwrbnjw6p94nrggbq7wfz5mwbhpgg6hv52";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ twisted future ];
|
||||
@@ -14,7 +15,8 @@ buildPythonPackage (rec {
|
||||
checkInputs = [ setuptoolsTrial mock ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace buildbot_worker/scripts/logwatcher.py --replace '/usr/bin/tail' "$(type -P tail)"
|
||||
substituteInPlace buildbot_worker/scripts/logwatcher.py \
|
||||
--replace /usr/bin/tail "${coreutils}/bin/tail"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -20,11 +20,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cassandra-driver";
|
||||
version = "3.17.1";
|
||||
version = "3.18.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1y6pnm7vzg9ip1nbly3i8mmwqmcy8g38ix74vdzvvaxwxil9bmvi";
|
||||
sha256 = "1w9a7fdl626m977cjj9zclh4a0mr3s4q9jpwm1fsmpi7v3gbribi";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cfgv";
|
||||
version = "1.6.0";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1vxjwga8x9nn5xqbhf5sql7jab3s1la07mxbaqgcfjz8lpp2z7vf";
|
||||
sha256 = "0zn3nc7cyfsvg9gp7558656n2sn1m01j30l79ci22ibgvq4vxv9j";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Django";
|
||||
version = "1.11.20";
|
||||
version = "1.11.21";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.djangoproject.com/m/releases/1.11/${pname}-${version}.tar.gz";
|
||||
sha256 = "0h90kdq8r4y8wa73hdxmyy5psnwlg61dcq3qsa098cpfiyh9vaa3";
|
||||
sha256 = "0adhcw8sx2mgwk9y2j760y96pqbip1ni3sf2v2ls5zxc9x93wwms";
|
||||
};
|
||||
|
||||
patches = stdenv.lib.optionals withGdal [
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Django";
|
||||
version = "2.1.8";
|
||||
version = "2.1.9";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1r1y3d3gz5v1kyfs77dxbcm5my27q8dpcmj821b6yl8x22281cpk";
|
||||
sha256 = "1nkqylj6hz7k45mvwch2y5cc06ncnzbxnzw2d7vbv10azzsdwljh";
|
||||
};
|
||||
|
||||
patches = stdenv.lib.optionals withGdal [
|
||||
|
||||
@@ -35,7 +35,7 @@ let
|
||||
bazelTarget = ":install";
|
||||
|
||||
fetchAttrs = {
|
||||
sha256 = "1qwq6xp6gdmy8f0k96q3nsgqs56adrbgq39g5smwik6griwfx9mr";
|
||||
sha256 = "0q7mz69nzng8i6pn3h0va79q4nh60jfjjj9crric8g6dmdwc3h1i";
|
||||
};
|
||||
|
||||
buildAttrs = {
|
||||
|
||||
@@ -46,6 +46,10 @@ buildPythonPackage rec {
|
||||
# see https://github.com/joke2k/faker/pull/911, fine since we pin correct
|
||||
# versions for python2
|
||||
substituteInPlace setup.py --replace "more-itertools<6.0.0" "more-itertools"
|
||||
|
||||
# https://github.com/joke2k/faker/issues/970
|
||||
substituteInPlace setup.py --replace "random2==1.0.1" "random2>=1.0.1"
|
||||
substituteInPlace setup.py --replace "freezegun==0.3.11" "freezegun>=0.3.11"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -7,21 +7,18 @@
|
||||
, pyyaml
|
||||
, requests
|
||||
, testtools
|
||||
, six
|
||||
, python_mimeparse
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "falcon";
|
||||
version = "1.4.1";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "3981f609c0358a9fcdb25b0e7fab3d9e23019356fb429c635ce4133135ae1bc4";
|
||||
sha256 = "eea593cf466b9c126ce667f6d30503624ef24459f118c75594a69353b6c3d5fc";
|
||||
};
|
||||
|
||||
checkInputs = [coverage ddt nose pyyaml requests testtools];
|
||||
propagatedBuildInputs = [ six python_mimeparse ];
|
||||
|
||||
# The travis build fails since the migration from multiprocessing to threading for hosting the API under test.
|
||||
# OSError: [Errno 98] Address already in use
|
||||
@@ -29,7 +26,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An unladen web framework for building APIs and app backends";
|
||||
homepage = http://falconframework.org;
|
||||
homepage = "https://falconframework.org/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ desiderius ];
|
||||
};
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Flask-Cors";
|
||||
version = "3.0.7";
|
||||
version = "3.0.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1v6gq4vjgyxi8q8lxawpdfhq01adb4bznnabp08ks5nzbwibz43y";
|
||||
sha256 = "05id72xwvhni23yasdvpdd8vsf3v4j6gzbqqff2g04j6xcih85vj";
|
||||
};
|
||||
|
||||
buildInputs = [ nose ];
|
||||
|
||||
@@ -19,11 +19,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fs";
|
||||
version = "2.4.5";
|
||||
version = "2.4.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1gv23ns9szdh1dgqzvc0r94qrv8fpjqj0xv99sniy2x3rxs2n0j2";
|
||||
sha256 = "5e19251e939b10d50e4b58b0cf2862851794abcf4aa4387b67c69dd61e97b3dc";
|
||||
};
|
||||
|
||||
buildInputs = [ glibcLocales ];
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "GeoAlchemy2";
|
||||
version = "0.6.2";
|
||||
version = "0.6.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1h04qqdzyflprgf93ihn707brx61f3my5bfdqkwllhwxvr935jyb";
|
||||
sha256 = "1viq85fsb119w4lmxn2iacxf2w35b8cgzamlrb685z50pp1cdi2d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ sqlalchemy shapely ];
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-i18n-address";
|
||||
version = "2.3.4";
|
||||
version = "2.3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0f1j1lp9bmllkzhciw0lxi7ipm8w461n0p97mz9714br0cs9glm1";
|
||||
sha256 = "1kkg3x92m40z0mw712z9apnrw08qsx0f9lj7lfgddkdbx4vd8v3w";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
31
pkgs/development/python-modules/gtts-token/default.nix
Normal file
31
pkgs/development/python-modules/gtts-token/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gtts-token";
|
||||
version = "1.1.3";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "gTTS-token";
|
||||
inherit version;
|
||||
sha256 = "9d6819a85b813f235397ef931ad4b680f03d843c9b2a9e74dd95175a4bc012c5";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
|
||||
# Tests only in github repo, require working internet connection
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Calculates a token to run the Google Translate text to speech";
|
||||
homepage = https://github.com/boudewijn26/gTTS-token;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.makefu ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "guessit";
|
||||
version = "3.0.3";
|
||||
version = "3.0.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1q06b3k31bfb8cxjimpf1rkcrwnc596a9cppjw15minvdangl32r";
|
||||
sha256 = "1h9f4car26mkck360dxaf9ccdff3inbvpqyz4la2w3zjsz03x01p";
|
||||
};
|
||||
|
||||
# Tests require more packages.
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
, scipy
|
||||
, scikitlearn
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, joblib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -18,18 +18,10 @@ buildPythonPackage rec {
|
||||
sha256 = "5cfdc25375123eb9a72363449979141cc928c1953f220f0f81d7baabcaccec2d";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix Tests. Drop in release >0.8.20
|
||||
(fetchpatch {
|
||||
name = "test-rsl-missing-import.patch";
|
||||
url = https://github.com/scikit-learn-contrib/hdbscan/commit/e40ccef139e56e38adf7bd6912cd63efd97598f9.patch;
|
||||
sha256 = "0cfq4ja7j61h2zwd1jw5gagcz2sg18kjnx29sb0bwa13wfw6fip0";
|
||||
})
|
||||
];
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
||||
propagatedBuildInputs = [ cython numpy scipy scikitlearn ];
|
||||
nativeBuildInputs = [ cython ];
|
||||
propagatedBuildInputs = [ numpy scipy scikitlearn joblib ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Hierarchical Density-Based Spatial Clustering of Applications with Noise, a clustering algorithm with a scikit-learn compatible API";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, libusb1, udev, fetchPypi, buildPythonPackage, cython }:
|
||||
{ stdenv, libusb1, udev, darwin, fetchPypi, buildPythonPackage, cython }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hidapi";
|
||||
@@ -9,10 +9,13 @@ buildPythonPackage rec {
|
||||
sha256 = "e0be1aa6566979266a8fc845ab0e18613f4918cf2c977fe67050f5dc7e2a9a97";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ libusb1 udev cython ];
|
||||
propagatedBuildInputs =
|
||||
stdenv.lib.optionals stdenv.isLinux [ libusb1 udev ] ++
|
||||
stdenv.lib.optionals stdenv.isDarwin [ darwin.IOKit darwin.apple_sdk.frameworks.CoreFoundation ] ++
|
||||
[ cython ];
|
||||
|
||||
# Fix the USB backend library lookup
|
||||
postPatch = ''
|
||||
postPatch = stdenv.lib.optionalString stdenv.isLinux ''
|
||||
libusb=${libusb1.dev}/include/libusb-1.0
|
||||
test -d $libusb || { echo "ERROR: $libusb doesn't exist, please update/fix this build expression."; exit 1; }
|
||||
sed -i -e "s|/usr/include/libusb-1.0|$libusb|" setup.py
|
||||
|
||||
@@ -25,5 +25,6 @@ buildPythonPackage rec {
|
||||
description = "Image augmentation for machine learning experiments";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ cmcdragonkai ];
|
||||
broken = true; # opencv-python bindings aren't available yet, and look non-trivial
|
||||
};
|
||||
}
|
||||
|
||||
32
pkgs/development/python-modules/inquirer/default.nix
Normal file
32
pkgs/development/python-modules/inquirer/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, python-editor, readchar, blessings, pytest, pytestcov, pexpect, pytest-mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "inquirer";
|
||||
version = "2.6.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "01lf51y3bxsxkghbdk9hr42yvihpwi2s5zpxnra3bx41r35msvjz";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ python-editor readchar blessings ];
|
||||
|
||||
# No real changes in 2.0.0...e0edfa3
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "readchar == 2.0.1" "readchar >= 2.0.0"
|
||||
'';
|
||||
|
||||
checkInputs = [ pytest pytestcov pexpect pytest-mock ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest --cov-report=term-missing --cov inquirer --no-cov-on-fail tests/unit tests/integration
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/magmax/python-inquirer";
|
||||
description = "A collection of common interactive command line user interfaces, based on Inquirer.js";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.mmahut ];
|
||||
};
|
||||
}
|
||||
@@ -1,7 +1,6 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, nose
|
||||
, jinja2
|
||||
, pyyaml
|
||||
@@ -9,21 +8,20 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "j2cli";
|
||||
version = "0.3.8";
|
||||
disabled = isPy3k;
|
||||
version = "0.3.10";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1f1a5fzap4ji5l7x8bprrgcpy1071lpa9g5h8jz7iqzgqynkaygi";
|
||||
sha256 = "6f6f643b3fa5c0f72fbe9f07e246f8e138052b9f689e14c7c64d582c59709ae4";
|
||||
};
|
||||
|
||||
buildInputs = [ nose ];
|
||||
checkInputs = [ nose ];
|
||||
propagatedBuildInputs = [ jinja2 pyyaml ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/kolypto/j2cli;
|
||||
homepage = "https://github.com/kolypto/j2cli";
|
||||
description = "Jinja2 Command-Line Tool";
|
||||
license = licenses.bsd3;
|
||||
license = licenses.bsd2;
|
||||
longDescription = ''
|
||||
J2Cli is a command-line tool for templating in shell-scripts,
|
||||
leveraging the Jinja2 library.
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jellyfish";
|
||||
version = "0.7.1";
|
||||
version = "0.7.2";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1hd1xzw22g1cp2dpf5bbpg8a7iac2v9hw0xrj5n5j83inh5n99br";
|
||||
sha256 = "11jja4wlzcr2pwvp3blj1jg6570zr0mpcm3nzhkbkdrbgq6wa2fb";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest unicodecsv ];
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "kombu";
|
||||
version = "4.5.0";
|
||||
version = "4.6.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "389ba09e03b15b55b1a7371a441c894fd8121d174f5583bbbca032b9ea8c9edd";
|
||||
sha256 = "eb365ea795cd7e629ba2f1f398e0c3ba354b91ef4de225ffdf6ab45fdfc7d581";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "libtmux";
|
||||
version = "0.8.1";
|
||||
version = "0.8.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0al5qcvzcl4v70vngbv39jg422jsy0m1b5q9pp54cc7m9b666jax";
|
||||
sha256 = "0nh6dvf8g93hv7cma6r8l88k8l20zck6a0ax29mrdg03f9hqdk9a";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lmdb";
|
||||
version = "0.94";
|
||||
version = "0.95";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1zh38gvkqw1jm5105if6rr7ccbgyxr7k2rm5ygb9ab3bq82pyaww";
|
||||
sha256 = "0nx9f193gzl33r1lbqhb96h1igya7pz8wmahr8m9x5zgc05hal91";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest cffi ];
|
||||
|
||||
18
pkgs/development/python-modules/midiutil/default.nix
Normal file
18
pkgs/development/python-modules/midiutil/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "MIDIUtil";
|
||||
version = "1.2.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "02m9sqv36zrzgz5zg2w9qmz8snzlm27yg3ways2hgipgs4xriykr";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/MarkCWirt/MIDIUtil";
|
||||
description = "A pure python library for creating multi-track MIDI files";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.gnidorah ];
|
||||
};
|
||||
}
|
||||
24
pkgs/development/python-modules/mlrose/default.nix
Normal file
24
pkgs/development/python-modules/mlrose/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, scikitlearn }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mlrose";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0vsvqrf1wbbj8i198rqd87hf8rlq7fmv8mmibv8f9rhj0w8729p5";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ scikitlearn ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's,sklearn,scikit-learn,g' setup.py
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Machine Learning, Randomized Optimization and SEarch";
|
||||
homepage = "https://github.com/gkhayes/mlrose";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, requests
|
||||
, requests_oauthlib
|
||||
@@ -18,16 +18,12 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.6.4";
|
||||
version = "0.6.7";
|
||||
pname = "msrest";
|
||||
|
||||
# no tests in PyPI tarball
|
||||
# see https://github.com/Azure/msrest-for-python/pull/152
|
||||
src = fetchFromGitHub {
|
||||
owner = "Azure";
|
||||
repo = "msrest-for-python";
|
||||
rev = "v${version}";
|
||||
sha256 = "0ilrc06qq0dw4qqzq1dq2vs6nymc39h19w52dwcyawwfalalnjzi";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "07136g3j7zgcvkxki4v6q1p2dm1nzzc28181s8dwic0y4ml8qlq5";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -48,6 +44,6 @@ buildPythonPackage rec {
|
||||
description = "The runtime library 'msrest' for AutoRest generated Python clients.";
|
||||
homepage = "https://azure.microsoft.com/en-us/develop/python/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bendlas ];
|
||||
maintainers = with maintainers; [ bendlas jonringer ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,25 +1,42 @@
|
||||
{ pkgs
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, isPy3k
|
||||
, adal
|
||||
, msrest
|
||||
, mock
|
||||
, httpretty
|
||||
, pytest
|
||||
, pytest-asyncio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.6.0";
|
||||
version = "0.6.1";
|
||||
pname = "msrestazure";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "06s04f6nng4na2663kc12a3skiaqb631nscjfwpsrx4lzkf8bccr";
|
||||
# Pypi tarball doesnt include tests
|
||||
# see https://github.com/Azure/msrestazure-for-python/pull/133
|
||||
src = fetchFromGitHub {
|
||||
owner = "Azure";
|
||||
repo = "msrestazure-for-python";
|
||||
rev = "v${version}";
|
||||
sha256 = "09swndz57131b8x57mzibnsr1sv0l80pk62p89q99gsd6mvc389c";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ adal msrest ];
|
||||
|
||||
checkInputs = [ httpretty mock pytest ]
|
||||
++ lib.optional isPy3k [ pytest-asyncio ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/
|
||||
'';
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
description = "The runtime library 'msrestazure' for AutoRest generated Python clients.";
|
||||
homepage = "https://azure.microsoft.com/en-us/develop/python/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bendlas ];
|
||||
maintainers = with maintainers; [ bendlas jonringer ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.4.2";
|
||||
version = "0.5.1";
|
||||
pname = "ndg-httpsclient";
|
||||
|
||||
propagatedBuildInputs = [ pyopenssl ];
|
||||
@@ -14,7 +14,7 @@ buildPythonPackage rec {
|
||||
owner = "cedadev";
|
||||
repo = "ndg_httpsclient";
|
||||
rev = version;
|
||||
sha256 = "1kk4knv029j0cicfiv23c1rayc1n3f1j3rhl0527gxiv0qv4jw8h";
|
||||
sha256 = "0lhsgs4am4xyjssng5p0vkfwqncczj1dpa0vss4lrhzq86mnn5rz";
|
||||
};
|
||||
|
||||
# uses networking
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
buildPythonPackage rec {
|
||||
|
||||
pname = "peewee";
|
||||
version = "3.9.5";
|
||||
version = "3.9.6";
|
||||
|
||||
# pypi release does not provide tests
|
||||
src = fetchFromGitHub {
|
||||
owner = "coleifer";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0c2hkkpp9rajnw5px17wd72x95k7wc2a0iy55pjhi5ly2cqd9ylv";
|
||||
sha256 = "1pgmsd7v73d0gqxsa4wnm9s3lyffw46wvvkqn25xgh4v8z869fg2";
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -1,31 +1,40 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchhg
|
||||
, pkgs
|
||||
, isPy3k
|
||||
}:
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, pkgs }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "20101207";
|
||||
pname = "pivy";
|
||||
disabled = isPy3k; # Judging from SyntaxError
|
||||
version = "0.6.5a2";
|
||||
|
||||
src = fetchhg {
|
||||
url = "https://bitbucket.org/Coin3D/pivy";
|
||||
rev = "8eab90908f2a3adcc414347566f4434636202344";
|
||||
sha256 = "18n14ha2d3j3ghg2f2aqnf2mks94nn7ma9ii7vkiwcay93zm82cf";
|
||||
src = fetchFromGitHub {
|
||||
owner = "FreeCAD";
|
||||
repo = "pivy";
|
||||
rev = version;
|
||||
sha256 = "1w03jaha36bjyfaz8hchnv8yrkm5715w15crhd3qrlagz8fs38hm";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
swig1 coin3d soqt
|
||||
swig qt5.qmake cmake
|
||||
];
|
||||
|
||||
buildInputs = with pkgs; with xorg; [
|
||||
coin3d soqt
|
||||
coin3d soqt qt5.qtbase
|
||||
libGLU_combined
|
||||
libXi libXext libSM libICE libX11
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
"-I${pkgs.qt5.qtbase.dev}/include/QtCore"
|
||||
"-I${pkgs.qt5.qtbase.dev}/include/QtGui"
|
||||
"-I${pkgs.qt5.qtbase.dev}/include/QtOpenGL"
|
||||
"-I${pkgs.qt5.qtbase.dev}/include/QtWidgets"
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt --replace \$'{SoQt_INCLUDE_DIRS}' \
|
||||
\$'{Coin_INCLUDE_DIR}'\;\$'{SoQt_INCLUDE_DIRS}'
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://pivy.coin3d.org/;
|
||||
description = "A Python binding for Coin";
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "progressbar2";
|
||||
version = "3.39.3";
|
||||
version = "3.42.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0fgy4327xzn232br4as74r6ddg5v6ycmfwga7xybp4s1w0cm8nwf";
|
||||
sha256 = "0a26r022lvz0vvwvhq2rfyl6h0hxbayvgbnajpnc0fc8f4gzr1n0";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
27
pkgs/development/python-modules/ptable/default.nix
Normal file
27
pkgs/development/python-modules/ptable/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ptable";
|
||||
version = "unstable-2019-06-14";
|
||||
|
||||
# https://github.com/kxxoling/PTable/issues/27
|
||||
src = fetchFromGitHub {
|
||||
owner = "kxxoling";
|
||||
repo = "PTable";
|
||||
rev = "bcfdb92811ae1f39e1065f31544710bf87d3bc21";
|
||||
sha256 = "1cj314rp6irlvr0a2c4xffsm2idsb0hzwr38vzz6z3kbhphcb63i";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests --with-coverage --cover-package=prettytable --cover-min-percentage=75
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/kxxoling/PTable";
|
||||
description = "A simple Python library designed to make it quick and easy to represent tabular data in visually appealing ASCII tables";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.mmahut ];
|
||||
};
|
||||
}
|
||||
@@ -22,11 +22,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "py3status";
|
||||
version = "3.18";
|
||||
version = "3.19";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "053znyl68sjmlp3r4br5jxhqqswjfbb1rb8k6f9qpzcym37439r0";
|
||||
sha256 = "10ikvdx39phr7n01qa6y9i5lqg3blv0d6y1pwqniczaf558cfp3l";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
35
pkgs/development/python-modules/pycategories/default.nix
Normal file
35
pkgs/development/python-modules/pycategories/default.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{ buildPythonPackage
|
||||
, callPackage
|
||||
, pytestcov
|
||||
, fetchPypi
|
||||
, lib
|
||||
, pytest
|
||||
, pythonOlder
|
||||
, pytestrunner
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pycategories";
|
||||
version = "1.2.0";
|
||||
disabled = pythonOlder "3.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "bd70ecb5e94e7659e564ea153f0c7673291dc37c526c246800fc08d6c5378099";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
|
||||
# Is private because the author states it's unmaintained
|
||||
# and shouldn't be used in production code
|
||||
propagatedBuildInputs = [ (callPackage ./infix.nix { }) ];
|
||||
|
||||
checkInputs = [ pytest pytestcov ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://gitlab.com/danielhones/pycategories";
|
||||
description = "Implementation of some concepts from category theory";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dmvianna ];
|
||||
};
|
||||
}
|
||||
23
pkgs/development/python-modules/pycategories/infix.nix
Normal file
23
pkgs/development/python-modules/pycategories/infix.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ buildPythonPackage
|
||||
, lib
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "infix";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a1bfdcf875bc072f41e426d0673f2e3017750743bb90cc725fffb292eb09648c";
|
||||
};
|
||||
|
||||
# No tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/borntyping/python-infix";
|
||||
description = "A decorator that allows functions to be used as infix functions";
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
||||
35
pkgs/development/python-modules/pyside2-tools/default.nix
Normal file
35
pkgs/development/python-modules/pyside2-tools/default.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{ buildPythonPackage, wrapPython, python, fetchurl, stdenv, cmake, qt5,
|
||||
shiboken2, pyside2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pyside2-tools";
|
||||
|
||||
inherit (pyside2) version src;
|
||||
|
||||
postPatch = ''
|
||||
cd sources/pyside2-tools
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake wrapPython ];
|
||||
propagatedBuildInputs = [ shiboken2 pyside2 ];
|
||||
buildInputs = [ python qt5.qtbase ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_TESTS=OFF"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
rm $out/bin/pyside_tool.py
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
wrapPythonPrograms
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "PySide2 development tools";
|
||||
license = licenses.gpl2;
|
||||
homepage = "https://wiki.qt.io/Qt_for_Python";
|
||||
maintainers = with maintainers; [ gebner ];
|
||||
};
|
||||
}
|
||||
38
pkgs/development/python-modules/pyside2/default.nix
Normal file
38
pkgs/development/python-modules/pyside2/default.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{ buildPythonPackage, python, fetchurl, stdenv,
|
||||
cmake, ninja, qt5, shiboken2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pyside2";
|
||||
version = "5.12.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${version}-src/pyside-setup-everywhere-src-${version}.tar.xz";
|
||||
sha256 = "0hk89jm8pa0q6kifask5rrffa3bvx02dg2f97ibv7wds9dysnyjg";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./dont_ignore_optional_modules.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
cd sources/pyside2
|
||||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_TESTS=OFF"
|
||||
"-DPYTHON_EXECUTABLE=${python.interpreter}"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ninja qt5.qmake shiboken2 python ];
|
||||
buildInputs = with qt5; [
|
||||
qtbase qtxmlpatterns qtmultimedia qttools qtx11extras qtlocation qtscript
|
||||
qtwebsockets qtwebengine qtwebchannel qtcharts qtsensors qtsvg
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "LGPL-licensed Python bindings for Qt";
|
||||
license = licenses.lgpl21;
|
||||
homepage = "https://wiki.qt.io/Qt_for_Python";
|
||||
maintainers = with maintainers; [ gebner ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
--- pyside-setup-everywhere-src-5.12.3/sources/pyside2/CMakeLists.txt~ 2019-06-15 19:07:48.368704430 +0200
|
||||
+++ pyside-setup-everywhere-src-5.12.3/sources/pyside2/CMakeLists.txt 2019-06-15 19:08:04.429489908 +0200
|
||||
@@ -219,7 +219,7 @@
|
||||
# If the module was found, and also the module path is the same as the
|
||||
# Qt5Core base path, we will generate the list with the modules to be installed
|
||||
set(looked_in_message ". Looked in: ${${_name_dir}}")
|
||||
- if("${${_name_found}}" AND (("${found_basepath}" GREATER "0") OR ("${found_basepath}" EQUAL "0")))
|
||||
+ if("${${_name_found}}")
|
||||
message(STATUS "${module_state} module ${name} found (${ARGN})${looked_in_message}")
|
||||
# record the shortnames for the tests
|
||||
list(APPEND all_module_shortnames ${shortname})
|
||||
@@ -10,11 +10,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-faulthandler";
|
||||
version = "1.5.0";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "bf8634c3fd6309ef786ec03b913a5366163fdb094ebcfdebc35626400d790e0d";
|
||||
sha256 = "1bvfy6yyh2zlsrkpfmxy17149752m9y6ji9d34qp44bnci83dkjq";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools_scm pytest ];
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "r2pipe";
|
||||
version = "1.3.1";
|
||||
version = "1.4.1";
|
||||
|
||||
postPatch = let
|
||||
r2lib = "${lib.getOutput "lib" radare2}/lib";
|
||||
@@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0xvv12q3cwbibim3r97dsz6lbj7xxhlbq7fdm4pznwfzg803cmiv";
|
||||
sha256 = "02r2xrnanzp7iskqbq8flzhc4d56hlzyf3qwqp3azys838y0kcyy";
|
||||
};
|
||||
|
||||
# Tiny sanity check to make sure r2pipe finds radare2 (since r2pipe doesn't
|
||||
|
||||
@@ -6,14 +6,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rasterio";
|
||||
version = "1.0.23";
|
||||
version = "1.0.24";
|
||||
|
||||
# Pypi doesn't ship the tests, so we fetch directly from GitHub
|
||||
src = fetchFromGitHub {
|
||||
owner = "mapbox";
|
||||
repo = "rasterio";
|
||||
rev = version;
|
||||
sha256 = "1xypc86prwkv6ypy87g6r1p5y6d6c51vfxd3z6hjd1hv2ks7zjs1";
|
||||
sha256 = "0k5y4h0c4cjn1xl5fayh3a001kl42vvrhjyhp5r2fwn22z56a02p";
|
||||
};
|
||||
|
||||
checkInputs = [ boto3 pytest pytestcov packaging hypothesis ] ++ lib.optional (!isPy3k) mock;
|
||||
|
||||
24
pkgs/development/python-modules/readchar/default.nix
Normal file
24
pkgs/development/python-modules/readchar/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, flake8, pytest, pytestcov, pexpect }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "readchar";
|
||||
version = "2.0.0";
|
||||
|
||||
# Don't use wheels on PyPI
|
||||
src = fetchFromGitHub {
|
||||
owner = "magmax";
|
||||
repo = "python-${pname}";
|
||||
rev = version;
|
||||
sha256 = "0j1vj4f2j8x5f40rs6h8qplklcxcdbvkkvjpkpmr1xagw05i12bm";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ flake8 ];
|
||||
checkInputs = [ pytest pytestcov pexpect ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/magmax/python-readchar";
|
||||
description = "Python library to read characters and key strokes";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.mmahut ];
|
||||
};
|
||||
}
|
||||
29
pkgs/development/python-modules/rig/default.nix
Normal file
29
pkgs/development/python-modules/rig/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, isPy34, isPy35, isPy27
|
||||
, numpy, pytz, six, enum-compat, sentinel
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rig";
|
||||
version = "2.4.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5a3896dbde3f291c5dd34769e7329ef5d5e4da34fee53479bd13dc5e5d540b8a";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy pytz six sentinel enum-compat ];
|
||||
|
||||
# This is the list of officially supported versions. Other versions may work
|
||||
# as well.
|
||||
disabled = !(isPy35 || isPy34 || isPy27);
|
||||
|
||||
# Test Phase is only supported in development sources.
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A collection of tools for developing SpiNNaker applications";
|
||||
homepage = "https://github.com/project-rig/rig";
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
}
|
||||
@@ -23,12 +23,12 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.12.0";
|
||||
version = "0.12.1";
|
||||
pname = "rl-coach";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0kfm699rsy63726hpz3fyppl7zbl0fzf0vk2kkfgg718mcjxmdnh";
|
||||
sha256 = "1zqlq61zxn732915nznj7pz8zh6kd6inl170fiavwhs32brmv84l";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, robotframework
|
||||
, paramiko
|
||||
, scp
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "3.3.0";
|
||||
pname = "robotframework-sshlibrary";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "fc5b5db63cf63a937bd4ada1a8b7508ec8a75d9454fa75e6410cbe72fd718de9";
|
||||
};
|
||||
|
||||
# unit tests are impure
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ robotframework paramiko scp ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "SSHLibrary is a Robot Framework test library for SSH and SFTP";
|
||||
homepage = https://github.com/robotframework/SSHLibrary;
|
||||
license = licenses.asl20;
|
||||
};
|
||||
|
||||
}
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rubymarshal";
|
||||
version = "1.0.3";
|
||||
version = "1.2.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "131lbc18s3rlmby2dpbvi4msz13gqw6xvx067mh4zcx9npygn9r2";
|
||||
sha256 = "0gq344jlb9wkapzpxj7jqwjlc5ccdhhspkw6rfb1d0rammq6hpf6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ hypothesis ];
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sasmodels";
|
||||
version = "0.99";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SasView";
|
||||
repo = "sasmodels";
|
||||
rev = "v${version}";
|
||||
sha256 = "1lcvn42h29i0mg4i75xn0dbk711q9ycyhm3h95skqy8i61qmjrx6";
|
||||
sha256 = "082wnk10axincc4a62zxyr33l7v80yf7iz630y3421b50fwwyd8j";
|
||||
};
|
||||
|
||||
buildInputs = [ opencl-headers ];
|
||||
|
||||
38
pkgs/development/python-modules/scikitlearn/0.20.nix
Normal file
38
pkgs/development/python-modules/scikitlearn/0.20.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, gfortran, glibcLocales
|
||||
, numpy, scipy, pytest, pillow
|
||||
}:
|
||||
|
||||
# 0.20.x is the last version that maintains python2 compatibility
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "scikit-learn";
|
||||
version = "0.20.3";
|
||||
# UnboundLocalError: local variable 'message' referenced before assignment
|
||||
disabled = stdenv.isi686; # https://github.com/scikit-learn/scikit-learn/issues/5534
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c503802a81de18b8b4d40d069f5e363795ee44b1605f38bc104160ca3bfe2c41";
|
||||
};
|
||||
|
||||
buildInputs = [ pillow gfortran glibcLocales ];
|
||||
propagatedBuildInputs = [ numpy scipy numpy.blas ];
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
doCheck = !stdenv.isAarch64;
|
||||
# Skip test_feature_importance_regression - does web fetch
|
||||
checkPhase = ''
|
||||
cd $TMPDIR
|
||||
HOME=$TMPDIR OMP_NUM_THREADS=1 pytest -k "not test_feature_importance_regression" --pyargs sklearn
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A set of python modules for machine learning and data mining";
|
||||
homepage = http://scikit-learn.org;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
@@ -1,21 +1,43 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, gfortran, glibcLocales
|
||||
, numpy, scipy, pytest, pillow
|
||||
, cython
|
||||
, joblib
|
||||
, llvmPackages
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "scikit-learn";
|
||||
version = "0.20.3";
|
||||
version = "0.21.2";
|
||||
# UnboundLocalError: local variable 'message' referenced before assignment
|
||||
disabled = stdenv.isi686; # https://github.com/scikit-learn/scikit-learn/issues/5534
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c503802a81de18b8b4d40d069f5e363795ee44b1605f38bc104160ca3bfe2c41";
|
||||
sha256 = "1nvj9j16y1hz9gm0qwzpnx2zmz55c63k1fai643migsyll9c7bqa";
|
||||
};
|
||||
|
||||
buildInputs = [ pillow gfortran glibcLocales ];
|
||||
propagatedBuildInputs = [ numpy scipy numpy.blas ];
|
||||
buildInputs = [
|
||||
pillow
|
||||
gfortran
|
||||
glibcLocales
|
||||
] ++ lib.optionals stdenv.cc.isClang [
|
||||
llvmPackages.openmp
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
scipy
|
||||
numpy.blas
|
||||
joblib
|
||||
];
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
17
pkgs/development/python-modules/sentinel/default.nix
Normal file
17
pkgs/development/python-modules/sentinel/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ lib, buildPythonPackage, fetchPypi}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sentinel";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c00ba2a4f240ea4c5414059a696d6e128730272cb2c631b2eff42e86da1f89b3";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Create sentinel and singleton objects";
|
||||
homepage = "https://github.com/eddieantonio/sentinel";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
36
pkgs/development/python-modules/shiboken2/default.nix
Normal file
36
pkgs/development/python-modules/shiboken2/default.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{ buildPythonPackage, python, fetchurl, stdenv, pyside2,
|
||||
cmake, qt5, llvmPackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "shiboken2";
|
||||
|
||||
inherit (pyside2) version src;
|
||||
|
||||
patches = [
|
||||
./nix_compile_cflags.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
cd sources/shiboken2
|
||||
'';
|
||||
|
||||
CLANG_INSTALL_DIR = "${llvmPackages.libclang.out}";
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ llvmPackages.libclang python qt5.qtbase qt5.qtxmlpatterns ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_TESTS=OFF"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
rm $out/bin/shiboken_tool.py
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Generator for the PySide2 Qt bindings";
|
||||
license = with licenses; [ gpl2 lgpl21 ];
|
||||
homepage = "https://wiki.qt.io/Qt_for_Python";
|
||||
maintainers = with maintainers; [ gebner ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
--- pyside-setup-everywhere-src-5.12.3/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp~ 2019-06-15 10:31:04.712949189 +0200
|
||||
+++ pyside-setup-everywhere-src-5.12.3/sources/shiboken2/ApiExtractor/clangparser/compilersupport.cpp 2019-06-15 11:52:52.894987343 +0200
|
||||
@@ -317,15 +317,15 @@
|
||||
}
|
||||
#endif // NEED_CLANG_BUILTIN_INCLUDES
|
||||
|
||||
- // Append the c++ include paths since Clang is unable to find <list> etc
|
||||
- // on RHEL 7 with g++ 6.3 or CentOS 7.2.
|
||||
- // A fix for this has been added to Clang 5.0, so, the code can be removed
|
||||
- // once Clang 5.0 is the minimum version.
|
||||
- if (needsGppInternalHeaders()) {
|
||||
- const HeaderPaths gppPaths = gppInternalIncludePaths(QStringLiteral("g++"));
|
||||
- for (const HeaderPath &h : gppPaths) {
|
||||
- if (h.path.contains("c++"))
|
||||
- headerPaths.append(h);
|
||||
+ const HeaderPaths gppPaths = gppInternalIncludePaths(QStringLiteral("g++"));
|
||||
+ for (const HeaderPath &h : gppPaths) {
|
||||
+ // PySide2 requires that Qt headers are not -isystem
|
||||
+ // https://bugreports.qt.io/browse/PYSIDE-787
|
||||
+ if (!h.path.contains("-qt")) {
|
||||
+ // add using -isystem
|
||||
+ headerPaths.append(h);
|
||||
+ } else {
|
||||
+ headerPaths.append({h.path, HeaderType::Standard});
|
||||
}
|
||||
}
|
||||
#else
|
||||
@@ -12,11 +12,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "smart_open";
|
||||
version = "1.8.3";
|
||||
version = "1.8.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "029b0ns6q9vl4pyk1w7jp4dvif1mfgr53a58z1p8zipwnhkfwnih";
|
||||
sha256 = "1y845mfsswyvczknwh359xprgc3hk8r17qy1wdibpz6y6pq0g3kq";
|
||||
};
|
||||
|
||||
# nixpkgs version of moto is >=1.2.0, remove version pin to fix build
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "PySoundFile";
|
||||
version = "0.9.0.post1";
|
||||
name = pname + "-" + version;
|
||||
pname = "soundfile";
|
||||
version = "0.10.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "43dd46a2afc0484c26930a7e59eef9365cee81bce7a4aadc5699f788f60d32c3";
|
||||
pname = "SoundFile";
|
||||
inherit version;
|
||||
sha256 = "0w8mjadairg6av88090kwsridd0k115672b91zlcmf37r0c64zv3";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
@@ -29,10 +29,11 @@ buildPythonPackage rec {
|
||||
maintainers = with lib.maintainers; [ fridh ];
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace soundfile.py --replace "'sndfile'" "'${libsndfile.out}/lib/libsndfile.so'"
|
||||
postPatch = ''
|
||||
substituteInPlace soundfile.py --replace "_find_library('sndfile')" "'${libsndfile.out}/lib/libsndfile${stdenv.hostPlatform.extensions.sharedLibrary}'"
|
||||
'';
|
||||
|
||||
# https://github.com/bastibe/PySoundFile/issues/157
|
||||
disabled = isPyPy || stdenv.isi686;
|
||||
|
||||
}
|
||||
@@ -12,11 +12,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "srsly";
|
||||
version = "0.0.5";
|
||||
version = "0.0.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0apgm8znc3k79ifja16fvxsxwgpy3n2fvbp7iwf9szizzpjscylp";
|
||||
sha256 = "1v9nn17q2lshnvnc8ff6nk53rggz2hgnmx4fj4czfr40125r98pk";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = lib.optional (pythonOlder "3.4") pathlib;
|
||||
|
||||
57
pkgs/development/python-modules/toggl-cli/default.nix
Normal file
57
pkgs/development/python-modules/toggl-cli/default.nix
Normal file
@@ -0,0 +1,57 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, twine, pbr, click, click-completion, validate-email,
|
||||
pendulum, ptable, requests, inquirer, pythonOlder, pytest, pytestcov, pytest-mock, faker, factory_boy }:
|
||||
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "toggl-cli";
|
||||
version = "2.1.0";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "togglCli";
|
||||
inherit version;
|
||||
sha256 = "0iirvvb8772569v28d36bnryksm1qkkw48d48fw26j7ka01qq6mm";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "click-completion==0.5.0" "click-completion>=0.5.0" \
|
||||
--replace "pbr==5.1.2" "pbr>=5.1.2" \
|
||||
--replace "inquirer==2.5.1" "inquirer>=2.5.1"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pbr twine ];
|
||||
checkInputs = [ pbr pytest pytestcov pytest-mock faker factory_boy ];
|
||||
|
||||
preCheck = ''
|
||||
export TOGGL_API_TOKEN=your_api_token
|
||||
export TOGGL_PASSWORD=toggl_password
|
||||
export TOGGL_USERNAME=user@example.com
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
pytest -k "not premium and not TestDateTimeType and not TestDateTimeField" tests/unit --maxfail=20
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
click-completion
|
||||
validate-email
|
||||
pendulum
|
||||
ptable
|
||||
requests
|
||||
inquirer
|
||||
pbr
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://toggl.uhlir.dev/";
|
||||
description = "Command line tool and set of Python wrapper classes for interacting with toggl's API";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.mmahut ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -6,16 +6,19 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.4.7";
|
||||
version = "0.7.0";
|
||||
pname = "uproot-methods";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "4a00d1db828c44d2ba35801aeff7d1ea890b7dfa337895395e3b06284c14857b";
|
||||
sha256 = "0awxd4p8yr27k4iayc0phw99bxgw04dnd3lb372hj9wjvldm0hzr";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy awkward ];
|
||||
|
||||
# No tests on PyPi
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/scikit-hep/uproot-methods;
|
||||
description = "Pythonic mix-ins for ROOT classes";
|
||||
|
||||
@@ -1,33 +1,49 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, numpy
|
||||
, uproot-methods
|
||||
{ lib, fetchPypi, buildPythonPackage, isPy27
|
||||
, awkward
|
||||
, backports_lzma
|
||||
, cachetools
|
||||
, pythonOlder
|
||||
, lz4
|
||||
, pytestrunner
|
||||
, pytest
|
||||
, pkgconfig
|
||||
, lz4
|
||||
, mock
|
||||
, numpy
|
||||
, requests
|
||||
, backports_lzma
|
||||
, uproot-methods
|
||||
, xxhash
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "uproot";
|
||||
version = "3.4.19";
|
||||
version = "3.7.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1df24d1f193b044cc4d6ef98e183a853655b568b7b15173d88b0d2a79e1226da";
|
||||
sha256 = "0glsl57ha0d4pn5q318dmzml7crml1h8yilbhxh768wcs2030s1g";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
checkInputs = [ pytest pkgconfig lz4 mock requests ]
|
||||
++ lib.optionals (pythonOlder "3.3") [ backports_lzma ];
|
||||
propagatedBuildInputs = [ numpy cachetools uproot-methods awkward ];
|
||||
|
||||
checkInputs = [
|
||||
lz4
|
||||
mock
|
||||
pkgconfig
|
||||
pytest
|
||||
requests
|
||||
xxhash
|
||||
] ++ lib.optional isPy27 backports_lzma;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
cachetools
|
||||
uproot-methods
|
||||
awkward
|
||||
];
|
||||
|
||||
# skip tests which do network calls
|
||||
checkPhase = ''
|
||||
pytest tests -k 'not hist_in_tree and not branch_auto_interpretation'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://github.com/scikit-hep/uproot;
|
||||
|
||||
22
pkgs/development/python-modules/validate-email/default.nix
Normal file
22
pkgs/development/python-modules/validate-email/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "validate-email";
|
||||
version = "1.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "validate_email";
|
||||
sha256 = "1bxffaf5yz2cph8ki55vdvdypbwkvn2xr1firlcy62vqbzf1jivq";
|
||||
};
|
||||
|
||||
# No tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/syrusakbary/validate_email";
|
||||
description = "Verify if an email address is valid and really exists";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = [ maintainers.mmahut ];
|
||||
};
|
||||
}
|
||||
@@ -7,12 +7,12 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.8.0";
|
||||
version = "0.8.1";
|
||||
pname = "xcffib";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1lf5plgfi92ir6bsjyjb9yvqjbxzh2cag33c8jl435iaxmnh76f3";
|
||||
sha256 = "03nf3xrqq25sj9phqc9ngvqxrrp14s4ifsx9hv41kp7zi3xamsfn";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "yattag";
|
||||
version = "1.11.1";
|
||||
version = "1.11.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "94210945c868f696a31812a510c01724d61c9a4d279eb4adf340c0d2a4c0bfd7";
|
||||
sha256 = "0grf7hskbxfxj60qmd44xiwmr9mzmi09inilvhykw28m0c84s8fp";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zeroconf";
|
||||
version = "0.22.0";
|
||||
version = "0.23.0";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "09dqfbj37l7vnj0fj4a82dqgq9mwm6fnsnsmljg25k1ygcn5hrpy";
|
||||
sha256 = "1xgfs38wv52a73p9gmyz0vxj6c49516isjn9bhp8p3y4cywk7hz0";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ ifaddr ]
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zodbpickle";
|
||||
version = "1.0.3";
|
||||
version = "1.0.4";
|
||||
disabled = isPyPy; # https://github.com/zopefoundation/zodbpickle/issues/10
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0avr63rka9lrqngjfmny7hdds4klmg1nriwc7n3kgyrp44z2lk7c";
|
||||
sha256 = "0n4hng2zil1j8sbz0b83pxx8ndlh34h2mnmli3bqjmnrbry5zlr5";
|
||||
};
|
||||
|
||||
# fails..
|
||||
|
||||
Reference in New Issue
Block a user