mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-15 21:29:07 +00:00
Merge branch 'staging-next' into staging
This commit is contained in:
@@ -10,11 +10,11 @@
|
||||
# wrapped to be able to find aioconsole and any other packages.
|
||||
buildPythonPackage rec {
|
||||
pname = "aioconsole";
|
||||
version = "0.1.15";
|
||||
version = "0.1.16";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0gbl08p89959g8dqy2vainppg3kyf948xlh18p7iwk5p0mw5d3j9";
|
||||
sha256 = "0yk4ghvg47drfvdrrcw7nk14pg4shccmyhln9d8hy1lyafcqmnd5";
|
||||
};
|
||||
|
||||
# hardcodes a test dependency on an old version of pytest-asyncio
|
||||
@@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = {
|
||||
description = "Asynchronous console and interfaces for asyncio";
|
||||
homepage = https://github.com/vxgmichel/aioconsole;
|
||||
homepage = "https://github.com/vxgmichel/aioconsole";
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.catern ];
|
||||
};
|
||||
|
||||
@@ -11,12 +11,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-monitor";
|
||||
version = "0.7.0";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "1pprvk5255b6brbw73g0g13zygwa7a2px5x08wy3153rqlzan5l2";
|
||||
sha256 = "09bhk6kpf1j1kgsyfdrfmfixrdj0iikx25dr1mh9dc6lci07i1cx";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-web";
|
||||
version = "0.44.0";
|
||||
version = "0.45.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "05dqakhfi301k2jnvccxdkigqvwnf9xz858pqg9vsri3dq69f1rw";
|
||||
sha256 = "04wdb7vksjhcvv0gkjjr37lmb5ads5pr00cjac8r3szimr64zspr";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zc.buildout";
|
||||
version = "2.13.2";
|
||||
version = "2.13.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5dd4de86dda684c46ef8ee9cc84e335ca7f6275d4363a684de82225270d1e328";
|
||||
sha256 = "1dyc5g3yv7wm3hf3fcsh6y1wivzjj1bspafr5qqb653z9a31lsfn";
|
||||
};
|
||||
|
||||
patches = [ ./nix.patch ];
|
||||
@@ -14,7 +14,7 @@ buildPythonPackage rec {
|
||||
postInstall = "mv $out/bin/buildout{,-nix}";
|
||||
|
||||
meta = {
|
||||
homepage = http://www.buildout.org;
|
||||
homepage = "http://www.buildout.org";
|
||||
description = "A software build and configuration system";
|
||||
license = stdenv.lib.licenses.zpl21;
|
||||
maintainers = [ stdenv.lib.maintainers.goibhniu ];
|
||||
|
||||
@@ -6,17 +6,19 @@ buildPythonPackage rec {
|
||||
pname = "carbon";
|
||||
version = "1.1.6";
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9ecda1469e497e3fed346b23ac94fd576e1bd9962677ab88975f4f598186e851";
|
||||
};
|
||||
|
||||
# Carbon-s default installation is /opt/graphite. This env variable ensures
|
||||
# carbon is installed as a regular python module.
|
||||
GRAPHITE_NO_PREFIX="True";
|
||||
|
||||
propagatedBuildInputs = [ twisted whisper txamqp cachetools urllib3 ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://graphite.wikidot.com/;
|
||||
homepage = "http://graphiteapp.org/";
|
||||
description = "Backend data caching and persistence daemon for Graphite";
|
||||
maintainers = with maintainers; [ offline basvandijk ];
|
||||
license = licenses.asl20;
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cchardet";
|
||||
version = "2.1.5";
|
||||
version = "2.1.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "240efe3f255f916769458343840b9c6403cf3192720bc5129792cbcb88bf72fb";
|
||||
sha256 = "1cs6y59qhbal8fgbyjk2lpjykh8kfjhq16clfssylsddb4hgnsmp";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = {
|
||||
description = "High-speed universal character encoding detector";
|
||||
homepage = https://github.com/PyYoshi/cChardet;
|
||||
homepage = "https://github.com/PyYoshi/cChardet";
|
||||
license = lib.licenses.mpl11;
|
||||
maintainers = with lib.maintainers; [ ivan ];
|
||||
};
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchurl
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Django";
|
||||
version = "1.8.19";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.djangoproject.com/m/releases/1.8/${pname}-${version}.tar.gz";
|
||||
sha256 = "0iy0ni9j1rnx9b06ycgbg2dkrf3qid3y2jipk9x28cykz5f4mm1k";
|
||||
};
|
||||
|
||||
# too complicated to setup
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A high-level Python Web framework";
|
||||
homepage = https://www.djangoproject.com/;
|
||||
license = licenses.bsd0;
|
||||
knownVulnerabilities = [
|
||||
# The patches were not backported due to Django 1.8 having reached EOL
|
||||
https://www.djangoproject.com/weblog/2018/aug/01/security-releases/
|
||||
https://www.djangoproject.com/weblog/2019/jan/04/security-releases/
|
||||
https://www.djangoproject.com/weblog/2019/feb/11/security-releases/
|
||||
https://www.djangoproject.com/weblog/2019/jun/03/security-releases/
|
||||
https://www.djangoproject.com/weblog/2019/jul/01/security-releases/
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dropbox";
|
||||
version = "9.4.0";
|
||||
version = "9.5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0qid094qna6bl4zpd08f6snvipwjls1yadacvmwri11djgp0wvj3";
|
||||
sha256 = "0iz9hg1j7q9chka6fyzgpzqg2v4nbjx61xfvn9ixprxrdhvhr2hi";
|
||||
};
|
||||
|
||||
# Set DROPBOX_TOKEN environment variable to a valid token.
|
||||
@@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A Python library for Dropbox's HTTP-based Core and Datastore APIs";
|
||||
homepage = https://www.dropbox.com/developers/core/docs;
|
||||
homepage = "https://www.dropbox.com/developers/core/docs";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Fiona";
|
||||
version = "1.8.13";
|
||||
version = "1.8.13.post1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5ec34898c8b983a723fb4e949dd3e0ed7e691c303e51f6bfd61e52ac9ac813ae";
|
||||
sha256 = "00366f2j21b5r4r8310sadf7jjhdr44s0381dhjqkw2nzpwjnhqs";
|
||||
};
|
||||
|
||||
CXXFLAGS = lib.optionalString stdenv.cc.isClang "-std=c++11";
|
||||
|
||||
@@ -1,30 +1,27 @@
|
||||
{ lib, fetchFromGitHub, buildPythonPackage, fetchpatch, flake8, six }:
|
||||
{ lib, isPy27, fetchFromGitHub, buildPythonPackage, fetchpatch, flake8, six }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flake8-future-import";
|
||||
version = "0.4.5";
|
||||
version = "0.4.6";
|
||||
|
||||
# PyPI tarball doesn't include the test suite
|
||||
src = fetchFromGitHub {
|
||||
owner = "xZise";
|
||||
repo = "flake8-future-import";
|
||||
rev = version;
|
||||
sha256 = "00fpxa6g8cabybnciwnpsbg60zhgydc966jgwyyggw1pcg0frdqr";
|
||||
sha256 = "00q8n15xdnvqj454arn7xxksyrzh0dw996kjyy7g9rdk0rf8x82z";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Add Python 3.7 support. Remove with the next release
|
||||
(fetchpatch {
|
||||
url = https://github.com/xZise/flake8-future-import/commit/cace194a44d3b95c9c1ed96640bae49183acca04.patch;
|
||||
sha256 = "17pkqnh035j5s5c53afs8bk49bq7lnmdwqp5k7izx7sw80z73p9r";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ flake8 six ];
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/xZise/flake8-future-import;
|
||||
# Upstream disables this test case naturally on python 3, but it also fails
|
||||
# inside NixPkgs for python 2. Since it's going to be deleted, we just skip it
|
||||
# on py2 as well.
|
||||
patches = lib.optionals isPy27 [ ./skip-test.patch ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A flake8 extension to check for the imported __future__ modules to make it easier to have a consistent code base";
|
||||
license = lib.licenses.mit;
|
||||
homepage = "https://github.com/xZise/flake8-future-import";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/test_flake8_future_import.py b/test_flake8_future_import.py
|
||||
index 84fde59..345f23f 100644
|
||||
--- a/test_flake8_future_import.py
|
||||
+++ b/test_flake8_future_import.py
|
||||
@@ -230,7 +230,7 @@ class TestBadSyntax(TestCaseBase):
|
||||
"""Test using various bad syntax examples from Python's library."""
|
||||
|
||||
|
||||
-@unittest.skipIf(sys.version_info[:2] >= (3, 7), 'flake8 supports up to 3.6')
|
||||
+@unittest.skip("Has issue with installed path for flake8 in python2")
|
||||
class Flake8TestCase(TestCaseBase):
|
||||
|
||||
"""
|
||||
@@ -1,52 +1,35 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, which
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
||||
, django, django_tagging, whisper, pycairo, cairocffi, ldap, memcached, pytz, urllib3, scandir
|
||||
}:
|
||||
if django.version != "1.8.19"
|
||||
|| django_tagging.version != "0.4.3"
|
||||
then throw "graphite-web should be build with django_1_8 and django_tagging_0_4_3"
|
||||
else buildPythonPackage rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "graphite-web";
|
||||
version = "1.1.6";
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f4c293008ad588456397cd125cdad7f47f4bab5b6dd82b5fb69f5467e7346a2a";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./update-django-tagging.patch
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
django django_tagging whisper pycairo cairocffi
|
||||
ldap memcached pytz urllib3 scandir
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/run-graphite-devel-server.py \
|
||||
--prefix PATH : ${which}/bin
|
||||
'';
|
||||
# Carbon-s default installation is /opt/graphite. This env variable ensures
|
||||
# carbon is installed as a regular python module.
|
||||
GRAPHITE_NO_PREFIX="True";
|
||||
|
||||
preConfigure = ''
|
||||
# graphite is configured by storing a local_settings.py file inside the
|
||||
# graphite python package. Since that package is stored in the immutable
|
||||
# Nix store we can't modify it. So how do we configure graphite?
|
||||
#
|
||||
# First of all we rename "graphite.local_settings" to
|
||||
# "graphite_local_settings" so that the settings are not looked up in the
|
||||
# graphite package anymore. Secondly we place a directory containing a
|
||||
# graphite_local_settings.py on the PYTHONPATH in the graphite module
|
||||
# <nixpkgs/nixos/modules/services/monitoring/graphite.nix>.
|
||||
substituteInPlace webapp/graphite/settings.py \
|
||||
--replace "graphite.local_settings" " graphite_local_settings"
|
||||
|
||||
substituteInPlace webapp/graphite/settings.py \
|
||||
--replace "join(WEBAPP_DIR, 'content')" "join('$out', 'webapp', 'content')"
|
||||
'';
|
||||
|
||||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://graphite.wikidot.com/;
|
||||
homepage = "http://graphiteapp.org/";
|
||||
description = "Enterprise scalable realtime graphing";
|
||||
maintainers = with maintainers; [ offline basvandijk ];
|
||||
license = licenses.asl20;
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -Nur a/setup.py b/setup.py
|
||||
--- a/setup.py 2020-03-12 18:45:34.654296302 +0100
|
||||
+++ b/setup.py 2020-03-12 18:46:17.476893828 +0100
|
||||
@@ -115,7 +115,7 @@
|
||||
['templates/*', 'local_settings.py.example']},
|
||||
scripts=glob('bin/*'),
|
||||
data_files=list(webapp_content.items()) + storage_dirs + conf_files + examples,
|
||||
- install_requires=['Django>=1.8,<2.3', 'django-tagging==0.4.3', 'pytz', 'pyparsing', 'cairocffi', 'urllib3', 'scandir', 'six'],
|
||||
+ install_requires=['Django>=1.8,<2.3', 'django-tagging==0.4.6', 'pytz', 'pyparsing', 'cairocffi', 'urllib3', 'scandir', 'six'],
|
||||
classifiers=[
|
||||
'Intended Audience :: Developers',
|
||||
'Natural Language :: English',
|
||||
@@ -1,32 +0,0 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, jinja2, markupsafe, pagerduty, pushbullet, python_magic, python-simple-hipchat
|
||||
, pyyaml, redis, requests, six, websocket_client, nose
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "graphitepager";
|
||||
version = "0.2.11";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0v3g1qcgnkpgjzh6phnv13lnk8qjrcs9sq2qg6k0dk5ik31jfk3d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
jinja2 markupsafe pagerduty pushbullet python_magic python-simple-hipchat
|
||||
pyyaml redis requests six websocket_client
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt --replace "==" ">="
|
||||
'';
|
||||
|
||||
checkInputs = [ nose ];
|
||||
checkPhase = "nosetests";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A simple alerting application for Graphite metrics";
|
||||
homepage = https://github.com/seatgeek/graphite-pager;
|
||||
maintainers = with maintainers; [ offline basvandijk ];
|
||||
license = licenses.bsd2;
|
||||
};
|
||||
}
|
||||
@@ -7,12 +7,12 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "4.0.4";
|
||||
version = "4.0.5";
|
||||
pname = "icalendar";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "16gjvqv0n05jrb9g228pdjgzd3amz2pdhvcgsn1jypszjg5m2w9l";
|
||||
sha256 = "14ynjj65kfmlcvpb7k097w789wvxncd3cr3xz5m1jz9yl9v6vv5q";
|
||||
};
|
||||
|
||||
buildInputs = [ setuptools ];
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mkl-service";
|
||||
version = "2.1.0";
|
||||
version = "2.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "IntelPython";
|
||||
repo = "mkl-service";
|
||||
rev = "v${version}";
|
||||
sha256 = "1bnpgx629rxqf0yhn0jn68ypj3dqv6njc3981j1g8j8rsm5lycrn";
|
||||
sha256 = "1b4dkkl439rfaa86ywzc2zf9ifawhvdlaiqcg0il83cn5bzs7g5z";
|
||||
};
|
||||
|
||||
MKLROOT = mkl;
|
||||
|
||||
39
pkgs/development/python-modules/opuslib/default.nix
Normal file
39
pkgs/development/python-modules/opuslib/default.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
{ buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
isPy27,
|
||||
libopus,
|
||||
nose,
|
||||
stdenv,
|
||||
substituteAll,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "opuslib";
|
||||
version = "3.0.3";
|
||||
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "orion-labs";
|
||||
repo = "opuslib";
|
||||
rev = "92109c528f9f6c550df5e5325ca0fcd4f86b0909";
|
||||
sha256 = "0kd37wimwd1g6c0w5hq2hiiljgbi1zg3rk5prval086khkzq469p";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./opuslib-paths.patch;
|
||||
opusLibPath = "${libopus}/lib/libopus${stdenv.hostPlatform.extensions.sharedLibrary}";
|
||||
})
|
||||
];
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python bindings to the libopus, IETF low-delay audio codec";
|
||||
homepage = "https://github.com/orion-labs/opuslib";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ thelegy ];
|
||||
};
|
||||
}
|
||||
26
pkgs/development/python-modules/opuslib/opuslib-paths.patch
Normal file
26
pkgs/development/python-modules/opuslib/opuslib-paths.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
diff --git a/opuslib/api/__init__.py b/opuslib/api/__init__.py
|
||||
index 323a2a4..4c8a8fe 100644
|
||||
--- a/opuslib/api/__init__.py
|
||||
+++ b/opuslib/api/__init__.py
|
||||
@@ -7,20 +7,12 @@
|
||||
|
||||
import ctypes # type: ignore
|
||||
|
||||
-from ctypes.util import find_library # type: ignore
|
||||
-
|
||||
__author__ = 'Никита Кузнецов <self@svartalf.info>'
|
||||
__copyright__ = 'Copyright (c) 2012, SvartalF'
|
||||
__license__ = 'BSD 3-Clause License'
|
||||
|
||||
|
||||
-lib_location = find_library('opus')
|
||||
-
|
||||
-if lib_location is None:
|
||||
- raise Exception(
|
||||
- 'Could not find Opus library. Make sure it is installed.')
|
||||
-
|
||||
-libopus = ctypes.CDLL(lib_location)
|
||||
+libopus = ctypes.CDLL('@opusLibPath@')
|
||||
|
||||
c_int_pointer = ctypes.POINTER(ctypes.c_int)
|
||||
c_int16_pointer = ctypes.POINTER(ctypes.c_int16)
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pid";
|
||||
version = "2.2.5";
|
||||
version = "3.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "96eb7dba326b88f5164bc1afdc986c7793e0d32d7f62366256a3903c7b0614ef";
|
||||
sha256 = "0pdp8h1m4brxalcsmzzzmjj66vj98g6wigwmcdj5sf8p7insklgn";
|
||||
};
|
||||
|
||||
buildInputs = [ nose ];
|
||||
@@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Pidfile featuring stale detection and file-locking";
|
||||
homepage = https://github.com/trbs/pid/;
|
||||
homepage = "https://github.com/trbs/pid/";
|
||||
license = licenses.asl20;
|
||||
};
|
||||
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyhcl";
|
||||
version = "0.4.0";
|
||||
version = "0.4.1";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "virtuald";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "09kwm3digbwn3kmbk76jswxgwfcfchik6cfa2xbhjanh4xs893hs";
|
||||
sha256 = "13nszg2plfvza3syki1rxnx3k3h90qq4wkgv86l1xpz31k3pf6k4";
|
||||
};
|
||||
|
||||
# https://github.com/virtuald/pyhcl/blob/51a7524b68fe21e175e157b8af931016d7a357ad/setup.py#L64
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pylint-django";
|
||||
version = "2.0.13";
|
||||
version = "2.0.14";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PyCQA";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "16xfn8zs5khdfh5pdsv3wjjhywzc1qhx7mxi5kpbcvmd6an9qi7s";
|
||||
sha256 = "07fkwb4phfr71dpajnq6l64phjxvljx2nf8ibs12n9gwjdvm9i52";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymavlink";
|
||||
version = "2.4.3";
|
||||
version = "2.4.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "332d3d0291b4482641a5b3cd97e879817f50eb9c2b2ddcc30d51d619bad01b51";
|
||||
sha256 = "1c8bxbm18h4idfdxqgklcz4n5bgsyl9y14gl9314fpflwa2c7ds8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ future lxml ];
|
||||
|
||||
@@ -21,13 +21,13 @@ in
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-language-server";
|
||||
version = "0.31.8";
|
||||
version = "0.31.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "palantir";
|
||||
repo = "python-language-server";
|
||||
rev = version;
|
||||
sha256 = "sha256:1h0w7x7d9g3z7vmxn5w7qxdkjya3sl0xfnklfaaaj8dkb5mjldpi";
|
||||
sha256 = "06hd6a1hhd57hrq4vbwfs0saplkhsrz2krv8kq9kw4fz4hx7zj74";
|
||||
};
|
||||
|
||||
# The tests require all the providers, disable otherwise.
|
||||
@@ -53,8 +53,7 @@ buildPythonPackage rec {
|
||||
"test_pandas_completions"
|
||||
"test_matplotlib_completions"
|
||||
"test_snippet_parsing"
|
||||
|
||||
];
|
||||
] ++ stdenv.lib.optional isPy27 "test_flake8_lint";
|
||||
# checkPhase = ''
|
||||
# HOME=$TEMPDIR pytest -k "not test_pyqt_completion and not
|
||||
# '';
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, nose }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pythonAtLeast, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rope";
|
||||
version = "0.14.0";
|
||||
|
||||
disabled = pythonAtLeast "3.8"; # 0.17 should support Python 3.8
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1bwayj0hh459s3yh0sdrxksr9wfilgi3a49izfaj06kvgyladif5";
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spyder-kernels";
|
||||
version = "1.8.1";
|
||||
version = "1.9.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a782fc5961a9dd48d520ddc1c868b960d54b8edb1116c21fc2e3c347fe5a4474";
|
||||
sha256 = "1sqjagabqccrc73a423smfjmiph7lfjzj26r6hn3j3vf3drm3rpj";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -1,17 +1,19 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, makeDesktopItem, intervaltree, jedi, pycodestyle,
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy27, makeDesktopItem, intervaltree, jedi, pycodestyle,
|
||||
psutil, pyflakes, rope, numpy, scipy, matplotlib, pylint, keyring, numpydoc,
|
||||
qtconsole, qtawesome, nbconvert, mccabe, pyopengl, cloudpickle, pygments,
|
||||
spyder-kernels, qtpy, pyzmq, chardet, qdarkstyle, watchdog, python-language-server
|
||||
, pyqtwebengine
|
||||
, pyqtwebengine, atomicwrites, pyxdg, diff-match-patch
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spyder";
|
||||
version = "4.0.1";
|
||||
version = "4.1.1";
|
||||
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "4b279c16487d224368dd2213e1517185fa59fc528f539601fffb34ea97accb7b";
|
||||
sha256 = "13ajjifyf7w895vpl0h9r59m73zisby81xjw2c5pk49fh5l6ycs9";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pyqtwebengine.wrapQtAppsHook ];
|
||||
@@ -20,6 +22,7 @@ buildPythonPackage rec {
|
||||
intervaltree jedi pycodestyle psutil pyflakes rope numpy scipy matplotlib pylint keyring
|
||||
numpydoc qtconsole qtawesome nbconvert mccabe pyopengl cloudpickle spyder-kernels
|
||||
pygments qtpy pyzmq chardet pyqtwebengine qdarkstyle watchdog python-language-server
|
||||
atomicwrites pyxdg diff-match-patch
|
||||
];
|
||||
|
||||
# There is no test for spyder
|
||||
@@ -42,8 +45,12 @@ buildPythonPackage rec {
|
||||
substituteInPlace setup.py --replace "pyqt5<5.13" "pyqt5"
|
||||
'';
|
||||
|
||||
# Create desktop item
|
||||
postInstall = ''
|
||||
# add Python libs to env so Spyder subprocesses
|
||||
# created to run compute kernels don't fail with ImportErrors
|
||||
wrapProgram $out/bin/spyder3 --prefix PYTHONPATH : "$PYTHONPATH"
|
||||
|
||||
# Create desktop item
|
||||
mkdir -p $out/share/icons
|
||||
cp spyder/images/spyder.svg $out/share/icons
|
||||
cp -r $desktopItem/share/applications/ $out/share
|
||||
@@ -66,6 +73,5 @@ buildPythonPackage rec {
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ gebner ];
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "Twisted";
|
||||
version = "19.10.0";
|
||||
version = "20.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "tar.bz2";
|
||||
sha256 = "7394ba7f272ae722a74f3d969dcf599bc4ef093bc392038748a490f1724a515d";
|
||||
sha256 = "040yzha6cyshnn6ljgk2birgh6mh2cnra48xp5ina5vfsnsmab6p";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ zope_interface incremental automat constantly hyperlink pyhamcrest attrs setuptools ];
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchurl
|
||||
, fetchPypi
|
||||
, twisted
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "txamqp";
|
||||
version = "0.3";
|
||||
pname = "txAMQP";
|
||||
version = "0.8.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://launchpad.net/txamqp/trunk/${version}/+download/python-txamqp_${version}.orig.tar.gz";
|
||||
sha256 = "1r2ha0r7g14i4b5figv2spizjrmgfpspdbl1m031lw9px2hhm463";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0jd9864k3csc06kipiwzjlk9mq4054s8kzk5q1cfnxj8572s4iv4";
|
||||
};
|
||||
|
||||
buildInputs = [ twisted ];
|
||||
propagatedBuildInputs = [ twisted ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://launchpad.net/txamqp;
|
||||
homepage = "https://github.com/txamqp/txamqp";
|
||||
description = "Library for communicating with AMQP peers and brokers using Twisted";
|
||||
license = licenses.asl20;
|
||||
maintainers = [];
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{ buildPythonPackage, django_1_8, waitress }:
|
||||
{ buildPythonPackage, django, waitress }:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "waitress-django";
|
||||
version = "0.0.0";
|
||||
|
||||
src = ./.;
|
||||
pythonPath = [ django_1_8 waitress ];
|
||||
pythonPath = [ django waitress ];
|
||||
doCheck = false;
|
||||
meta.description = "A waitress WSGI server serving django";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user