Merge pull request #111007 from fabaff/bump-canmatrix
python3Packages.canmatrix: 0.9.1 -> 0.9.3
This commit is contained in:
commit
c6f12879b1
|
@ -13,19 +13,19 @@
|
||||||
, xlrd
|
, xlrd
|
||||||
, XlsxWriter
|
, XlsxWriter
|
||||||
, pyyaml
|
, pyyaml
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "canmatrix";
|
pname = "canmatrix";
|
||||||
version = "0.9.1";
|
version = "0.9.3";
|
||||||
|
|
||||||
# uses fetchFromGitHub as PyPi release misses test/ dir
|
# uses fetchFromGitHub as PyPi release misses test/ dir
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ebroecker";
|
owner = "ebroecker";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "129lcchq45h8wqjvvn0rwpbmih4m0igass2cx7a21z94li97hcia";
|
sha256 = "sha256-9FupG1VmROgsxYhsafQYPPqG0xEOAYYK8QDOIBNzE0Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -48,14 +48,11 @@ buildPythonPackage rec {
|
||||||
--replace "version = versioneer.get_version()" "version = \"${version}\""
|
--replace "version = versioneer.get_version()" "version = \"${version}\""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [ pytestCheckHook ];
|
||||||
pytest
|
|
||||||
];
|
|
||||||
|
|
||||||
# long_envvar_name_imports requires stable key value pair ordering
|
# long_envvar_name_imports requires stable key value pair ordering
|
||||||
checkPhase = ''
|
pytestFlagsArray = [ "-s src/canmatrix" ];
|
||||||
pytest -s src/canmatrix -k 'not long_envvar_name_imports'
|
disabledTests = [ "long_envvar_name_imports" ];
|
||||||
'';
|
pythonImportsCheck = [ "canmatrix" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/ebroecker/canmatrix";
|
homepage = "https://github.com/ebroecker/canmatrix";
|
||||||
|
|
|
@ -29,6 +29,8 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "canopen" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/christiansandberg/canopen/";
|
homepage = "https://github.com/christiansandberg/canopen/";
|
||||||
description = "CANopen stack implementation";
|
description = "CANopen stack implementation";
|
||||||
|
|
Loading…
Reference in New Issue