forked from mirrors/nixpkgs
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
|
||||
, XlsxWriter
|
||||
, pyyaml
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "canmatrix";
|
||||
version = "0.9.1";
|
||||
version = "0.9.3";
|
||||
|
||||
# uses fetchFromGitHub as PyPi release misses test/ dir
|
||||
src = fetchFromGitHub {
|
||||
owner = "ebroecker";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "129lcchq45h8wqjvvn0rwpbmih4m0igass2cx7a21z94li97hcia";
|
||||
sha256 = "sha256-9FupG1VmROgsxYhsafQYPPqG0xEOAYYK8QDOIBNzE0Y=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -48,14 +48,11 @@ buildPythonPackage rec {
|
|||
--replace "version = versioneer.get_version()" "version = \"${version}\""
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
# long_envvar_name_imports requires stable key value pair ordering
|
||||
checkPhase = ''
|
||||
pytest -s src/canmatrix -k 'not long_envvar_name_imports'
|
||||
'';
|
||||
pytestFlagsArray = [ "-s src/canmatrix" ];
|
||||
disabledTests = [ "long_envvar_name_imports" ];
|
||||
pythonImportsCheck = [ "canmatrix" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ebroecker/canmatrix";
|
||||
|
|
|
@ -29,6 +29,8 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "canopen" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/christiansandberg/canopen/";
|
||||
description = "CANopen stack implementation";
|
||||
|
|
Loading…
Reference in a new issue