Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pythonPackages.canopen: 0.5.1 -> 1.1.0 #90588

Merged
merged 1 commit into from Jul 2, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 6 additions & 20 deletions pkgs/development/python-modules/canopen/default.nix
@@ -1,33 +1,19 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchPypi
, nose
, can
, canmatrix }:

buildPythonPackage {
buildPythonPackage rec {
pname = "canopen";
version = "0.5.1";
version = "1.1.0";

# use fetchFromGitHub until version containing test/sample.eds
# is available on PyPi
# https://github.com/christiansandberg/canopen/pull/57

src = fetchFromGitHub {
owner = "christiansandberg";
repo = "canopen";
rev = "b20575d84c3aef790fe7c38c5fc77601bade0ea4";
sha256 = "1qg47qrkyvyxiwi13sickrkk89jp9s91sly2y90bz0jhws2bxh64";
src = fetchPypi {
inherit pname version;
sha256 = "0fqa4p3qg7800fykib1x264gizhhmb6dz2hajgwr0hxf5xa19wdl";
};

#src = fetchPypi {
# inherit pname version;
# sha256 = "0806cykarpjb9ili3mf82hsd9gdydbks8532nxgz93qzg4zdbv2g";
#};

# test_pdo failure https://github.com/christiansandberg/canopen/issues/58
doCheck = false;

propagatedBuildInputs =
[ can
canmatrix
Expand Down