pythonPackages.canopen: 0.5.1 -> 1.1.0
Bump version for the python canopen module, move to fetchPypi and re-enable tests.
This commit is contained in:
parent
0cb5174121
commit
f32a8650fd
@ -1,33 +1,19 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchPypi
|
||||||
, nose
|
, nose
|
||||||
, can
|
, can
|
||||||
, canmatrix }:
|
, canmatrix }:
|
||||||
|
|
||||||
buildPythonPackage {
|
buildPythonPackage rec {
|
||||||
pname = "canopen";
|
pname = "canopen";
|
||||||
version = "0.5.1";
|
version = "1.1.0";
|
||||||
|
|
||||||
# use fetchFromGitHub until version containing test/sample.eds
|
src = fetchPypi {
|
||||||
# is available on PyPi
|
inherit pname version;
|
||||||
# https://github.com/christiansandberg/canopen/pull/57
|
sha256 = "0fqa4p3qg7800fykib1x264gizhhmb6dz2hajgwr0hxf5xa19wdl";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "christiansandberg";
|
|
||||||
repo = "canopen";
|
|
||||||
rev = "b20575d84c3aef790fe7c38c5fc77601bade0ea4";
|
|
||||||
sha256 = "1qg47qrkyvyxiwi13sickrkk89jp9s91sly2y90bz0jhws2bxh64";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#src = fetchPypi {
|
|
||||||
# inherit pname version;
|
|
||||||
# sha256 = "0806cykarpjb9ili3mf82hsd9gdydbks8532nxgz93qzg4zdbv2g";
|
|
||||||
#};
|
|
||||||
|
|
||||||
# test_pdo failure https://github.com/christiansandberg/canopen/issues/58
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs =
|
||||||
[ can
|
[ can
|
||||||
canmatrix
|
canmatrix
|
||||||
|
Loading…
Reference in New Issue
Block a user