Merge master into staging-next
This commit is contained in:
@@ -15,13 +15,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ansible-lint";
|
||||
version = "4.3.6";
|
||||
version = "4.3.7";
|
||||
# pip is not able to import version info on raumel.yaml
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1fn7mdykm4id78k4faibi92q9yxbjbyxb90ww0by03c31m8z5348";
|
||||
sha256 = "0kwwv9dv9rgsqvp15r2vma7hii9lkkqn0n2irvp5h32cbhzzq4hh";
|
||||
};
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
52
pkgs/development/python-modules/coconut/default.nix
Normal file
52
pkgs/development/python-modules/coconut/default.nix
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonApplication,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
|
||||
cpyparsing,
|
||||
ipykernel,
|
||||
mypy,
|
||||
pygments,
|
||||
pytest,
|
||||
prompt_toolkit,
|
||||
tkinter,
|
||||
watchdog
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "coconut";
|
||||
version = "1.4.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "evhub";
|
||||
repo = "coconut";
|
||||
rev = "v${version}";
|
||||
sha256 = "1pz13vza3yy95dbylnq89fzc3mwgcqr7ds096wy25k6vxd9dp9c3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cpyparsing pygments prompt_toolkit ipykernel mypy watchdog ];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "fix-setuptools-version-check.patch";
|
||||
url = "https://github.com/LibreCybernetics/coconut/commit/2916a087da1e063cc4438b68d4077347fd1ea4a2.patch";
|
||||
sha256 = "136jbd2rvnifw30y73vv667002nf7sbkm5qyihshj4db7ngysr6q";
|
||||
})
|
||||
];
|
||||
|
||||
checkInputs = [ pytest tkinter ];
|
||||
# Currently most tests do not work on Hydra due to external fetches.
|
||||
checkPhase = ''
|
||||
pytest tests/constants_test.py
|
||||
pytest tests/main_test.py::TestShell::test_compile_to_file
|
||||
pytest tests/main_test.py::TestShell::test_convenience
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://coconut-lang.org/";
|
||||
description = "Simple, elegant, Pythonic functional programming";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fabianhjr ];
|
||||
};
|
||||
}
|
||||
24
pkgs/development/python-modules/cpyparsing/default.nix
Normal file
24
pkgs/development/python-modules/cpyparsing/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, cython, python }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cpyparsing";
|
||||
version = "2.4.5.0.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "evhub";
|
||||
repo = pname;
|
||||
rev = "aa8ee45daec5c55328446bad7202ab8f799ab0ce"; # No tags on repo
|
||||
sha256 = "1mxa5q41cb0k4lkibs0d4lzh1w6kmhhdrsm0w0r1m3s80m05ffmw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython ];
|
||||
|
||||
checkPhase = "${python.interpreter} tests/cPyparsing_test.py";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/evhub/cpyparsing";
|
||||
description = "Cython PyParsing implementation";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fabianhjr ];
|
||||
};
|
||||
}
|
||||
34
pkgs/development/python-modules/googlemaps/default.nix
Normal file
34
pkgs/development/python-modules/googlemaps/default.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||
, requests
|
||||
, responses, pytestCheckHook, pytest, pytestcov, isPy27
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "googlemaps";
|
||||
version = "4.4.2";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "googlemaps";
|
||||
repo = "google-maps-services-python";
|
||||
rev = "v${version}";
|
||||
sha256 = "DYhW1OGce/0gY7Jmwq6iM45PxLyXIYo4Cfg2u6Xuyg4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
checkInputs = [ pytestCheckHook responses pytestcov ];
|
||||
|
||||
disabledTests = [
|
||||
# touches network
|
||||
"test_elevation_along_path_single"
|
||||
"test_transit_without_time"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/googlemaps/google-maps-services-python";
|
||||
description = "Python client library for Google Maps API Web Services";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ Scriptkiddi ];
|
||||
};
|
||||
}
|
||||
29
pkgs/development/python-modules/openrouteservice/default.nix
Normal file
29
pkgs/development/python-modules/openrouteservice/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, requests, responses, pytestCheckHook }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "openrouteservice";
|
||||
version = "2.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GIScience";
|
||||
repo = "${pname}-py";
|
||||
rev = "v${version}";
|
||||
sha256 = "ySXzOQI9NcF1W/otbL7i3AY628/74ZkJjDMQ9ywVEPc=";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook responses ];
|
||||
|
||||
disabledTests = [
|
||||
# touches network
|
||||
"test_optimized_waypoints"
|
||||
"test_invalid_api_key"
|
||||
"test_raise_timeout_retriable_requests"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/GIScience/openrouteservice-py";
|
||||
description = "The Python API to consume openrouteservice(s) painlessly";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ Scriptkiddi ];
|
||||
};
|
||||
}
|
||||
@@ -1,11 +1,11 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, mupdf, swig }:
|
||||
buildPythonPackage rec {
|
||||
pname = "PyMuPDF";
|
||||
version = "1.17.6";
|
||||
version = "1.18.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5eef4ff61698016a296932858625a5a0039b923ba692043e2c98ca02966f1da2";
|
||||
sha256 = "64ce58f92d9edd2631e447175fa13b4024ac3b6dce6e718e0b003c41de6f7952";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
|
||||
@@ -11,12 +11,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-pylint";
|
||||
version = "0.17.0";
|
||||
version = "0.18.0";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b0c177d63f6e3f5b82fa2720a6570dd2ecff1616c26ed6d02d0cbf75fd98ddf9";
|
||||
sha256 = "790c7a8019fab08e59bd3812db1657a01995a975af8b1c6ce95b9aa39d61da27";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyvmomi";
|
||||
version = "7.0";
|
||||
version = "7.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vmware";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1qqljrlc9h7kddx3xxc6479gk75fvaxspfikzjn6zj5mznsvfwj5";
|
||||
sha256 = "1i7zni4ygdikc22wfrbnzwqh6qy402s3di6sdlfcvky2y7fzx52x";
|
||||
};
|
||||
|
||||
# requires old version of vcrpy
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rtslib";
|
||||
version = "2.1.72";
|
||||
version = "2.1.74";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-iscsi";
|
||||
repo = "${pname}-fb";
|
||||
rev = "v${version}";
|
||||
sha256 = "13kycf9xkyxm1ik8yh3qpd96vird8y65daigyiyb4jvx0lmrd0kv";
|
||||
sha256 = "1in10z6ckmkfhykar435k1fmswbfajysv4g9nsav893ij8g694fy";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six pyudev pygobject3 ];
|
||||
|
||||
@@ -15,11 +15,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "streamz";
|
||||
version = "0.5.5";
|
||||
version = "0.6.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "787ade4796c5b2e79af2aac678841ba3748a65a3adce150697dcdd31c4f80365";
|
||||
sha256 = "215703456479d24f524cdcd0365006250d4502d242f57e2f5db18e8638bc8694";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user