Merge master into staging-next
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
{ buildPythonPackage, fetchPypi, pytest }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "JPype1";
|
||||
@@ -9,16 +13,17 @@ buildPythonPackage rec {
|
||||
sha256 = "c16d01cde9c2c955d76d45675e64b06c3255784d49cea4147024e99a01fbbb18";
|
||||
};
|
||||
|
||||
patches = [ ./set-compiler-language.patch ];
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
# ImportError: Failed to import test module: test.testlucene
|
||||
# required openjdk (easy) but then there were some class path issues
|
||||
# when running the tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/originell/jpype/";
|
||||
license = "License :: OSI Approved :: Apache Software License";
|
||||
description = "A Python to Java bridge.";
|
||||
meta = with lib; {
|
||||
homepage = https://github.com/originell/jpype/;
|
||||
license = licenses.asl20;
|
||||
description = "A Python to Java bridge";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
diff -Naur a/setup.py b/setup.py
|
||||
--- a/setup.py 2017-01-12 19:08:44.000000000 -0500
|
||||
+++ b/setup.py 2018-02-15 12:28:16.000000000 -0500
|
||||
@@ -123,7 +123,7 @@
|
||||
|
||||
# extra compile args
|
||||
copt = {'msvc': ['/EHsc'],
|
||||
- 'unix' : ['-ggdb'],
|
||||
+ 'unix' : ['-ggdb', '-x', 'c++'],
|
||||
'mingw32' : [],
|
||||
}
|
||||
# extra link args
|
||||
@@ -1,16 +1,25 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, JPype1 }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, JPype1
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "JayDeBeApi";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0a189xs9zw81jvwwglvf2qyqnk6ra0biljssx9n4ffayqn9glbds";
|
||||
};
|
||||
propagatedBuildInputs = [ JPype1 ];
|
||||
meta = {
|
||||
homepage = "https://github.com/baztian/jaydebeapi";
|
||||
license = lib.licenses.lgpl2;
|
||||
description = "Use JDBC database drivers from Python 2/3 or Jython with a DB-API.";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
JPype1
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://github.com/baztian/jaydebeapi;
|
||||
license = licenses.lgpl2;
|
||||
description = "Use JDBC database drivers from Python 2/3 or Jython with a DB-API";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, h5py
|
||||
, nose
|
||||
}:
|
||||
|
||||
@@ -13,6 +14,8 @@ buildPythonPackage rec {
|
||||
sha256 = "fe2779664bd8846f2d67191a7e6010b8df890ac4586336748fd0697f31654379";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ h5py ];
|
||||
|
||||
checkInputs = [
|
||||
nose
|
||||
];
|
||||
|
||||
20
pkgs/development/python-modules/area/default.nix
Normal file
20
pkgs/development/python-modules/area/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ lib, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "area";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "18k5hwmlxhajlq306zxndsglb11vv8vd4vpmwx8dpvfxd1kbksya";
|
||||
};
|
||||
|
||||
# tests not working on the package from pypi
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Calculate the area inside of any GeoJSON geometry. This is a port of Mapbox’s geojson-area for Python.";
|
||||
homepage = "https://github.com/scisco/area";
|
||||
license = licenses.bsd2;
|
||||
};
|
||||
}
|
||||
@@ -5,11 +5,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asn1crypto";
|
||||
version = "1.2.0";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "87620880a477123e01177a1f73d0f327210b43a3cdbd714efcd2fa49a8d7b384";
|
||||
sha256 = "0bf4xxaig0b9dv6njynaqk2j7vlpagh3y49s9qj95y0jvjw5q8as";
|
||||
};
|
||||
|
||||
# No tests included
|
||||
|
||||
@@ -1,31 +1,31 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, mock, unittest2, nose
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, setuptools
|
||||
, twiggy, requests, offtrac, bugzilla, taskw, dateutil, pytz, keyring, six
|
||||
, jinja2, pycurl, dogpile_cache, lockfile, click, pyxdg, future }:
|
||||
, jinja2, pycurl, dogpile_cache, lockfile, click, pyxdg, future, jira }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bugwarrior";
|
||||
version = "1.7.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1pmznka5dxcdjfak0p1yh7lhfbfazmx8g9ysv57lsrkqy4n61qks";
|
||||
};
|
||||
|
||||
buildInputs = [ mock unittest2 nose /* jira megaplan */ ];
|
||||
propagatedBuildInputs = [
|
||||
setuptools
|
||||
twiggy requests offtrac bugzilla taskw dateutil pytz keyring six
|
||||
jinja2 pycurl dogpile_cache lockfile click pyxdg future
|
||||
jinja2 pycurl dogpile_cache lockfile click pyxdg future jira
|
||||
];
|
||||
|
||||
# for the moment jira>=0.22 and megaplan>=1.4 are missing for running the test suite.
|
||||
# for the moment oauth2client <4.0.0 and megaplan>=1.4 are missing for running the test suite.
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/ralphbean/bugwarrior;
|
||||
homepage = https://github.com/ralphbean/bugwarrior;
|
||||
description = "Sync github, bitbucket, bugzilla, and trac issues with taskwarrior";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ pierron ];
|
||||
maintainers = with maintainers; [ pierron yurrriq ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -32,14 +32,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "connexion";
|
||||
version = "2.3.0";
|
||||
version = "2.4.0";
|
||||
|
||||
# we're fetching from GitHub because tests weren't distributed on PyPi
|
||||
src = fetchFromGitHub {
|
||||
owner = "zalando";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1xdm3misxwgrl87ms0vvn0h4rjwzlmmi7kcra2ahs40iaraf33ln";
|
||||
sha256 = "1b9q027wrks0afl7l3a1wxymz3aick26b9fq2m07pc5wb9np0vvg";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
||||
35
pkgs/development/python-modules/h3/default.nix
Normal file
35
pkgs/development/python-modules/h3/default.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, cmake
|
||||
, fetchPypi
|
||||
, h3
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "h3";
|
||||
version = "3.4.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "07dlqpr1r4kzb3gci395plpss8gxvvrij40l6w0mylyg7fkab4m2";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./disable-custom-install.patch
|
||||
./hardcode-h3-path.patch
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
substituteInPlace h3/h3.py \
|
||||
--subst-var-by libh3_path ${h3}/lib/libh3${stdenv.hostPlatform.extensions.sharedLibrary}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/uber/h3-py";
|
||||
description = "This library provides Python bindings for the H3 Core Library.";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix ++ platforms.darwin;
|
||||
maintainers = [ maintainers.kalbasit ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 8e1c220..45297b6 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -25,20 +25,6 @@ class CustomBuildExtCommand(build_ext):
|
||||
install_h3(h3_version)
|
||||
|
||||
|
||||
-# Tested with wheel v0.29.0
|
||||
-class BinaryDistribution(Distribution):
|
||||
- def __init__(self, attrs=None):
|
||||
- Distribution.__init__(self, attrs)
|
||||
- # The values used for the name and sources in the Extension below are
|
||||
- # not important, because we override the build_ext command above.
|
||||
- # The normal C extension building logic is never invoked, and is
|
||||
- # replaced with our own custom logic. However, ext_modules cannot be
|
||||
- # empty, because this signals to other parts of distutils that our
|
||||
- # package contains C extensions and thus needs to be built for
|
||||
- # different platforms separately.
|
||||
- self.ext_modules = [Extension('h3c', [])]
|
||||
-
|
||||
-
|
||||
long_description = open('README.rst').read()
|
||||
|
||||
setup(
|
||||
@@ -52,14 +38,10 @@ setup(
|
||||
url='https://github.com/uber/h3-py.git',
|
||||
packages=find_packages(exclude=['tests', 'tests.*']),
|
||||
install_requires=[],
|
||||
- cmdclass={
|
||||
- 'build_ext': CustomBuildExtCommand,
|
||||
- },
|
||||
package_data={
|
||||
'h-py':
|
||||
['out/*.dylib' if platform.system() == 'Darwin' else (
|
||||
'out/*.dll' if platform.system() == 'Windows' else
|
||||
'out/*.so.*')]
|
||||
},
|
||||
- license='Apache License 2.0',
|
||||
- distclass=BinaryDistribution)
|
||||
+ license='Apache License 2.0')
|
||||
19
pkgs/development/python-modules/h3/hardcode-h3-path.patch
Normal file
19
pkgs/development/python-modules/h3/hardcode-h3-path.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
diff --git a/h3/h3.py b/h3/h3.py
|
||||
index 18cf168..2cc7812 100644
|
||||
--- a/h3/h3.py
|
||||
+++ b/h3/h3.py
|
||||
@@ -34,13 +34,7 @@ from ctypes import (
|
||||
POINTER,
|
||||
)
|
||||
|
||||
-_dirname = os.path.dirname(__file__)
|
||||
-libh3_path = ('{}/{}'.format(_dirname, 'out/libh3.1.dylib')
|
||||
- if platform.system() == 'Darwin' else (
|
||||
- '{}/{}'.format(_dirname, 'out/h3.dll') if platform.system() == 'Windows' else
|
||||
- '{}/{}'.format(_dirname, 'out/libh3.so.1')))
|
||||
-
|
||||
-libh3 = cdll.LoadLibrary(libh3_path)
|
||||
+libh3 = cdll.LoadLibrary('@libh3_path@')
|
||||
|
||||
# Type of an H3 index
|
||||
H3Index = c_ulonglong
|
||||
@@ -1,30 +1,55 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, numpy, scipy, scikitimage, opencv3, six }:
|
||||
{ buildPythonPackage
|
||||
, fetchurl
|
||||
, imageio
|
||||
, numpy
|
||||
, opencv3
|
||||
, pytest
|
||||
, scikitimage
|
||||
, scipy
|
||||
, shapely
|
||||
, six
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "imgaug";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "e1354d41921f1b306b50c5141b4870f17e81b531cae2f5c3093da9dc4dcb3cf4";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/aleju/imgaug/archive/c3d99a420efc45652a1264920dc20378a54b1325.zip";
|
||||
sha256 = "sha256:174nvhyhdn3vz0i34rqmkn26840j3mnfr55cvv5bdf9l4y9bbjq2";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "opencv-python-headless" ""
|
||||
substituteInPlace setup.py \
|
||||
--replace "opencv-python-headless" ""
|
||||
substituteInPlace pytest.ini \
|
||||
--replace "--xdoctest --xdoctest-global-exec=\"import imgaug as ia\nfrom imgaug import augmenters as iaa\"" ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
imageio
|
||||
numpy
|
||||
scipy
|
||||
scikitimage
|
||||
opencv3
|
||||
scikitimage
|
||||
scipy
|
||||
shapely
|
||||
six
|
||||
];
|
||||
|
||||
# disable tests when there are no tests in the PyPI archive
|
||||
doCheck = false;
|
||||
checkPhase = ''
|
||||
pytest ./test
|
||||
'';
|
||||
|
||||
checkInputs = [ opencv3 pytest ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/aleju/imgaug;
|
||||
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
|
||||
maintainers = with maintainers; [ cmcdragonkai rakesh4g ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "irc";
|
||||
version = "17.1";
|
||||
version = "18.0.0";
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0c19aeee800dbad792179d70dff1281c06fec220323f8ec34150cd94357f383b";
|
||||
sha256 = "1qg5996mzvhnkm74ksaa4d47fz5vrpw6hvxyaq9kf6y4cf1l76wq";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jieba";
|
||||
version = "0.39";
|
||||
version = "0.40";
|
||||
|
||||
# no tests in PyPI tarball
|
||||
src = fetchFromGitHub {
|
||||
owner = "fxsjy";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0hbq0l1jbgcvm58qg4p37im4jl5a9igvq3wlhlk22pmbkbvqqgzs";
|
||||
sha256 = "1nasyxva9m3k9fb9g627ppphp3697jdplbb2bavqx71sa7mqim2m";
|
||||
};
|
||||
|
||||
checkInputs = [ glibcLocales ];
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "kconfiglib";
|
||||
version = "13.6.0";
|
||||
version = "13.7.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5bd148042654788a30ead478208abd44d5df971013a226b0aabae3c4243561bd";
|
||||
sha256 = "0dkfprrsds64d2jbqnwdzb4why84jaj968s3ccmyqg5385nr9fwd";
|
||||
};
|
||||
|
||||
# doesnt work out of the box but might be possible
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mypy";
|
||||
version = "0.750";
|
||||
version = "0.761";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0k0l74g3jcq7ppzn234sffsaacn6qaq242famckk0cviwgld1jvf";
|
||||
sha256 = "1gw7h84d21wmi267kmgqs9whz0l7rp62pzja2f31wq7cfj6spfl5";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ typed-ast psutil mypy-extensions typing-extensions ];
|
||||
|
||||
@@ -12,13 +12,13 @@ let
|
||||
# Therefore we create a separate env for it.
|
||||
scons = pkgs.python27.withPackages(ps: [ pkgs.scons ]);
|
||||
in buildPythonPackage rec {
|
||||
version = "0.6.5";
|
||||
version = "0.6.6";
|
||||
pname = "Nuitka";
|
||||
|
||||
# Latest version is not yet on PyPi
|
||||
src = fetchurl {
|
||||
url = "https://github.com/kayhayen/Nuitka/archive/${version}.tar.gz";
|
||||
sha256 = "18vcmbyqdwsfa9gyj1sf518hsqczx7qlzrdc22hdb1zawzknb1pb";
|
||||
sha256 = "1ia37072qdbgdvh9qxkrhi3mlqn3kcn0qm5xjz6f68sis6ni9kw2";
|
||||
};
|
||||
|
||||
checkInputs = [ vmprof pyqt4 ];
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "numexpr";
|
||||
version = "2.7.0";
|
||||
version = "2.7.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "37324b5981b8962102bdc8640c4f05f5589da5d1df2702418783085cb78ca217";
|
||||
sha256 = "1c82z0zx0542j9df6ckjz6pn1g13b21hbza4hghcw6vyhbckklmh";
|
||||
};
|
||||
|
||||
# Remove existing site.cfg, use the one we built for numpy.
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opentracing";
|
||||
version = "2.2.0";
|
||||
version = "2.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "cfd231ba5c58f90bc277787e62861eb0c6e4af76e42957bec240bbdf71fb7e0e";
|
||||
sha256 = "0rcpmhy7hm6ljlm1w455il53s1amq2vii2x1wfkrcx3sj4s0dc9k";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = lib.optional isPy27 futures;
|
||||
|
||||
41
pkgs/development/python-modules/oscrypto/default.nix
Normal file
41
pkgs/development/python-modules/oscrypto/default.nix
Normal file
@@ -0,0 +1,41 @@
|
||||
{ buildPythonPackage
|
||||
, asn1crypto
|
||||
, fetchPypi
|
||||
, lib
|
||||
, openssl
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "oscrypto";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1vlryamwr442w2av8f54ldhls8fqs6678fg60pqbrf5pjy74kg23";
|
||||
};
|
||||
|
||||
testSources = fetchPypi {
|
||||
inherit version;
|
||||
pname = "oscrypto_tests";
|
||||
sha256 = "1crndz647pqdd8148yn3n5l63xwr6qkwa1qarsz59nk3ip0dsyq5";
|
||||
};
|
||||
|
||||
preCheck = ''
|
||||
tar -xf ${testSources}
|
||||
mv oscrypto_tests-${version} tests
|
||||
|
||||
# remove tests that require network
|
||||
sed -e '/TLSTests/d' -e '/TrustListTests/d' -i tests/__init__.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
asn1crypto
|
||||
openssl
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A compilation-free, always up-to-date encryption library for Python that works on Windows, OS X, Linux and BSD.";
|
||||
homepage = "https://www.snowflake.com/";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
@@ -14,12 +14,12 @@
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "pre-commit";
|
||||
version = "1.20.0";
|
||||
version = "1.21.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "pre_commit";
|
||||
sha256 = "0vmv3hrivm0sm81cn59n2pmw8h323sg4sgncl910djby2a3jc5cz";
|
||||
sha256 = "0l5qg1cw4a0670m96s0ryy5mqz5aslfrrnwpriqgmrnsgdixhj4g";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "PyGithub";
|
||||
version = "1.44.1";
|
||||
version = "1.45";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PyGithub";
|
||||
repo = "PyGithub";
|
||||
rev = "v${version}";
|
||||
sha256 = "16ngnnm7xj9bd97pvyddag17dx28c5wi0gjx4ws8c8nrmf5w3iqk";
|
||||
sha256 = "1aiyqwdxpcr7yzz7aqmmjn1g2ajs5bpbln4sax5zw19dqi6qgp9z";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ python-jose pyjwt requests deprecated httpretty ];
|
||||
|
||||
@@ -1,16 +1,21 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pydns }:
|
||||
{ lib, python, buildPythonPackage, fetchFromGitHub, pydns }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyspf";
|
||||
version = "2.0.13"; # version 2.0.13 should not be used, see #72791
|
||||
version = "2.0.14";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "62dc1be39519e343202d480da7ef93d834b5a50cd4f217bef9335ed15292929b";
|
||||
src = fetchFromGitHub {
|
||||
owner = "sdgathman";
|
||||
repo = pname;
|
||||
rev = "pyspf-${version}";
|
||||
sha256 = "0bmimlmwrq9glnjc4i6pwch30n3y5wyqmkjfyayxqxkfrixqwydi";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pydns ];
|
||||
|
||||
# requires /etc/resolv.conf to exist
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = http://bmsi.com/python/milter.html;
|
||||
description = "Python API for Sendmail Milters (SPF)";
|
||||
|
||||
@@ -15,11 +15,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-jenkins";
|
||||
version = "1.5.0";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0b11f7c1dffc48579afefa8a310cba5b1c98785b9132892ff8cf5312f32ebc90";
|
||||
sha256 = "1aa6rnzlzdgndiwjdbnklgz5pqy5zd7d6g7bhzsvyf0614z1w010";
|
||||
};
|
||||
|
||||
buildInputs = [ mock ];
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
{ buildPythonPackage
|
||||
, asn1crypto
|
||||
, azure-storage-blob
|
||||
, boto3
|
||||
, certifi
|
||||
, cffi
|
||||
, fetchPypi
|
||||
, future
|
||||
, idna
|
||||
, ijson
|
||||
, isPy3k
|
||||
, lib
|
||||
, oscrypto
|
||||
, pyarrow
|
||||
, pyasn1-modules
|
||||
, pycryptodomex
|
||||
, pyjwt
|
||||
, pyopenssl
|
||||
, pytz
|
||||
, requests
|
||||
, six
|
||||
, urllib3
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "snowflake-connector-python";
|
||||
version = "2.1.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "06061d59lapqrlg3gzdk4bi3v9c3q5zxfs0if5v2chg1f2l80ncr";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
azure-storage-blob
|
||||
asn1crypto
|
||||
boto3
|
||||
certifi
|
||||
cffi
|
||||
future
|
||||
idna
|
||||
ijson
|
||||
oscrypto
|
||||
pycryptodomex
|
||||
pyjwt
|
||||
pyopenssl
|
||||
pytz
|
||||
requests
|
||||
six
|
||||
] ++ lib.optionals (!isPy3k) [
|
||||
pyarrow
|
||||
pyasn1-modules
|
||||
urllib3
|
||||
];
|
||||
|
||||
# tests are not working
|
||||
# XXX: fix the tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Snowflake Connector for Python";
|
||||
homepage = "https://www.snowflake.com/";
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{ buildPythonPackage
|
||||
, lib
|
||||
, fetchPypi
|
||||
, sqlalchemy
|
||||
, snowflake-connector-python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "snowflake-sqlalchemy";
|
||||
version = "1.1.17";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1pmmwkw29944zh044azwbc1gf4s04fm55920d9if2a3zpjm6c5d7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
sqlalchemy
|
||||
snowflake-connector-python
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Snowflake SQLAlchemy Dialect";
|
||||
homepage = "https://www.snowflake.net/";
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
||||
@@ -2,12 +2,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "telethon";
|
||||
version = "1.10.9";
|
||||
version = "1.10.10";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "Telethon";
|
||||
sha256 = "16qb5hv8kh4plic1155ky9b88xz9iahhv1s3h47678hl7mjy2jc7";
|
||||
sha256 = "0zm3577f1l5g0i0gcxr3s0nrqy0i81ppr6vp31p550vvnlnkjsqj";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
--- a/third_party/nccl/build_defs.bzl.tpl
|
||||
+++ b/third_party/nccl/build_defs.bzl.tpl
|
||||
@@ -113,7 +113,6 @@ def _device_link_impl(ctx):
|
||||
"--cmdline=--compile-only",
|
||||
"--link",
|
||||
"--compress-all",
|
||||
- "--bin2c-path=%s" % bin2c.dirname,
|
||||
"--create=%s" % tmp_fatbin.path,
|
||||
"--embedded-fatbin=%s" % fatbin_h.path,
|
||||
] + images,
|
||||
@@ -124,6 +124,10 @@ let
|
||||
sha256 = "077cpj0kzyqxzdya1dwh8df17zfzhqn7c685hx6iskvw2979zg2n";
|
||||
})
|
||||
./lift-gast-restriction.patch
|
||||
|
||||
# cuda 10.2 does not have "-bin2c-path" option anymore
|
||||
# https://github.com/tensorflow/tensorflow/issues/34429
|
||||
./cuda-10.2-no-bin2c-path.patch
|
||||
];
|
||||
|
||||
# On update, it can be useful to steal the changes from gentoo
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tiledb";
|
||||
version = "0.5.2";
|
||||
version = "0.5.3";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "TileDB-Inc";
|
||||
repo = "TileDB-Py";
|
||||
rev = version;
|
||||
sha256 = "0y7llvy943fviayjny8xybvn3sm1ikjvazqk172ls90lcpr8rlr1";
|
||||
sha256 = "1wzzq3ggrprnjqgx9168r4x8cj1rh2ikr6mlxgbi463p5hnlkb5m";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
31
pkgs/development/python-modules/timezonefinder/default.nix
Normal file
31
pkgs/development/python-modules/timezonefinder/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ buildPythonPackage
|
||||
, lib
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, numba
|
||||
, numpy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "timezonefinder";
|
||||
version = "4.2.0";
|
||||
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0q8nd279labn03dz17s4xrglk1d31q9y8wcx99l51i5cxx53zsap";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
];
|
||||
|
||||
checkInputs = [ numba ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "fast python package for finding the timezone of any point on earth (coordinates) offline";
|
||||
homepage = "https://github.com/MrMinimal64/timezonefinder";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "wasabi";
|
||||
version = "0.4.2";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9af48b37709000dac34653be376aaac2e3e15392b8c78d0898124c52e083d088";
|
||||
sha256 = "0qv0zpr6kwjwygx9k8jgafiil5wh2zsyryvbxghzv4yn7jb3xpdq";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.8.1";
|
||||
version = "0.9.0";
|
||||
pname = "xcffib";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "03nf3xrqq25sj9phqc9ngvqxrrp14s4ifsx9hv41kp7zi3xamsfn";
|
||||
sha256 = "1r03yvxwbimh8ngfrbd436f9r535vvj6m1b3zfgz9kl76c8yn5ic";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.0.17";
|
||||
version = "1.0.18";
|
||||
pname = "xmlschema";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sissaschool";
|
||||
repo = "xmlschema";
|
||||
rev = "v${version}";
|
||||
sha256 = "0wbz243q8028ljnh6nq3kxawiwpg5p2bwg1b23ibf7zbrhazcj4k";
|
||||
sha256 = "1pwq2sfh7klcxismsqzgw80cp3cdkq9wv8x9g3h1zx1p66xpas9p";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ elementpath ];
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "yamllint";
|
||||
version = "1.19.0";
|
||||
version = "1.20.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "05fg2i27bq40z83avmz3h91i206dx5k6nyyvpa5vja54sqg14q02";
|
||||
sha256 = "1gx3f9wcf8af9cz2v3x3196pab34n8mlqk5iswahhzpxc9i2p4bn";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
||||
Reference in New Issue
Block a user