Merge staging-next into staging

This commit is contained in:
Frederik Rietdijk
2020-05-23 10:25:19 +02:00
123 changed files with 2850 additions and 3032 deletions

View File

@@ -2,6 +2,7 @@
, buildPythonPackage
, isPy3k
, pythonOlder
, pythonAtLeast
, fetchFromGitHub
, pyparsing
, opencascade
@@ -16,9 +17,12 @@
, libGLU
, libX11
, six
, pytest
, makeFontsConf
, freefont_ttf
}:
let
let
pythonocc-core-cadquery = stdenv.mkDerivation {
pname = "pythonocc-core-cadquery";
version = "0.18.2";
@@ -31,7 +35,7 @@ let
sha256 = "07zmiiw74dyj4v0ar5vqkvk30wzcpjjzbi04nsdk5mnlzslmyi6c";
};
nativeBuildInputs = [
nativeBuildInputs = [
cmake
swig
ninja
@@ -63,27 +67,34 @@ let
in
buildPythonPackage rec {
pname = "cadquery";
version = "2.0RC0";
version = "2.0";
src = fetchFromGitHub {
owner = "CadQuery";
repo = pname;
rev = version;
sha256 = "1xgd00rih0gjcnlrf9s6r5a7ypjkzgf2xij2b6436i76h89wmir3";
sha256 = "1n63b6cjjrdwdfmwq0zx1xabjnhndk9mgfkm4w7z9ardcfpvg84l";
};
buildInputs = [
opencascade
];
propagatedBuildInputs = [
pyparsing
pythonocc-core-cadquery
];
# Build errors on 2.7 and >=3.8 (officially only supports 3.6 and 3.7).
disabled = !(isPy3k && (pythonOlder "3.8"));
FONTCONFIG_FILE = makeFontsConf {
fontDirectories = [ freefont_ttf ];
};
checkInputs = [
pytest
];
disabled = pythonOlder "3.6" || pythonAtLeast "3.8";
meta = with lib; {
description = "Parametric scripting language for creating and traversing CAD models";
homepage = "https://github.com/CadQuery/cadquery";

View File

@@ -1,26 +1,24 @@
{ lib
, buildPythonPackage
, fetchPypi
, python-toolbox
, pytest
, isPy27
}:
buildPythonPackage rec {
version = "0.3.0";
version = "0.4.1";
pname = "pysnooper";
src = fetchPypi {
inherit version;
pname = "PySnooper";
sha256 = "14vcxrzfmfhsmdck1cb56a6lbfga15qfhlkap9mh47fgspcq8xkx";
sha256 = "1xngly13x3ylwwcdml2ns8skpxip2myzavp3b9ff2dpqaalf0hdl";
};
# test dependency python-toolbox fails with py27
doCheck = !isPy27;
checkInputs = [
python-toolbox
pytest
];

View File

@@ -4,10 +4,11 @@
, fetchFromGitHub
, isPy27
, nose
, pytest
}:
buildPythonPackage rec {
version = "0.9.4";
version = "1.0.10";
pname = "python_toolbox";
disabled = isPy27;
@@ -15,12 +16,12 @@ buildPythonPackage rec {
owner = "cool-RR";
repo = pname;
rev = version;
sha256 = "1qy2sfqfrkgxixmd22v5lkrdykdfiymsd2s3xa7ndlvg084cgj6r";
sha256 = "1hpls1hwisdjx1g15cq052bdn9fvh43r120llws8bvgvj9ivnaha";
};
checkInputs = [
docutils
nose
pytest
];
meta = with lib; {