Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e7b79d641112
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cb4fe8e0cda8
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Feb 4, 2021

  1. Verified

    This commit was signed with the committer’s verified signature.
    mweinelt Martin Weinelt
    Copy the full SHA
    cb4fe8e View commit details
Showing with 16 additions and 8 deletions.
  1. +16 −8 pkgs/development/python-modules/canopen/default.nix
24 changes: 16 additions & 8 deletions pkgs/development/python-modules/canopen/default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{ lib
, buildPythonPackage
, fetchPypi
, nose
, setuptools-scm
, can
, canmatrix }:
, canmatrix
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "canopen";
@@ -14,17 +16,23 @@ buildPythonPackage rec {
sha256 = "15d49f1f71e9989dde6e3b75fb8445c76bd223064dfc0ac629fe9ecb0e21fba9";
};

propagatedBuildInputs =
[ can
canmatrix
];
nativeBuildInputs = [
setuptools-scm
];

checkInputs = [ nose ];
propagatedBuildInputs = [
can
canmatrix
];

checkInputs = [
pytestCheckHook
];

meta = with lib; {
homepage = "https://github.com/christiansandberg/canopen/";
description = "CANopen stack implementation";
license = licenses.lgpl3;
license = licenses.mit;
maintainers = with maintainers; [ sorki ];
};
}