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.pynmea2: init at 1.12.0 #40757
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change your commit message to pythonPackages.pynmea2: init at 1.12.0
.
buildPythonPackage rec { | ||
pname = "pynmea2"; | ||
version = "1.12.0"; | ||
name = "${pname}-${version}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drop this line
sha256 = "185wxn8gag9whxmysspbh8s7wn3sh1glgf508w2zzwi4lklryl7i"; | ||
}; | ||
|
||
# Tests are failing for Python 3 because the version is missing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which version of what is missing? You can set doCheck = isPy27
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not quite sure, but the test fails with
_version (unittest.loader._FailedTest) ... ERROR
======================================================================
ERROR: _version (unittest.loader._FailedTest)
----------------------------------------------------------------------
AttributeError: module 'pynmea2' has no attribute '_version'
----------------------------------------------------------------------
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can try reenabling the tests once the appropriate checkPhase
is set.
@@ -0,0 +1,22 @@ | |||
{ stdenv, lib, buildPythonPackage, fetchPypi }: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stdenv
is not used
67ba777
to
4beca92
Compare
@GrahamcOfBorg build python2.pkgs.pynmea2 python3.pkgs.pynmea2 |
Success on aarch64-linux (full log) Attempted: python2.pkgs.pynmea2, python3.pkgs.pynmea2 Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: python2.pkgs.pynmea2, python3.pkgs.pynmea2 Partial log (click to expand)
|
You'll probably have to set
|
Using |
@GrahamcOfBorg build python2.pkgs.pynmea2 python3.pkgs.pynmea2 |
Success on x86_64-linux (full log) Attempted: python2.pkgs.pynmea2, python3.pkgs.pynmea2 Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: python2.pkgs.pynmea2, python3.pkgs.pynmea2 Partial log (click to expand)
|
Motivation for this change
Adds the pynmea2 package to the nixpkgs.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)