python3Packages.canopen: fix build, tests and license
This commit is contained in:
parent
e7b79d6411
commit
cb4fe8e0cd
@ -1,9 +1,11 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, nose
|
, setuptools-scm
|
||||||
, can
|
, can
|
||||||
, canmatrix }:
|
, canmatrix
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "canopen";
|
pname = "canopen";
|
||||||
@ -14,17 +16,23 @@ buildPythonPackage rec {
|
|||||||
sha256 = "15d49f1f71e9989dde6e3b75fb8445c76bd223064dfc0ac629fe9ecb0e21fba9";
|
sha256 = "15d49f1f71e9989dde6e3b75fb8445c76bd223064dfc0ac629fe9ecb0e21fba9";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs =
|
nativeBuildInputs = [
|
||||||
[ can
|
setuptools-scm
|
||||||
canmatrix
|
];
|
||||||
];
|
|
||||||
|
|
||||||
checkInputs = [ nose ];
|
propagatedBuildInputs = [
|
||||||
|
can
|
||||||
|
canmatrix
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
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";
|
||||||
license = licenses.lgpl3;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ sorki ];
|
maintainers = with maintainers; [ sorki ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user