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
pysensors: init at 2017-07-13 #38957
Conversation
sha256 = "1xvbxnkz55fk5fpr514263c7s7s9r8hgrw4ybfaj5a0mligmmrfm"; | ||
}; | ||
|
||
propagatedBuildInputs = [ lm_sensors ]; |
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.
Since this isn't a python library, it belongs into buildInputs
.
meta = with stdenv.lib; { | ||
maintainers = with maintainers; [ guibou ]; | ||
description = "Easy hardware health monitoring in Python for Linux systems"; | ||
homepage = "http://pysensors.readthedocs.org"; |
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.
no quotes
maintainers = with maintainers; [ guibou ]; | ||
description = "Easy hardware health monitoring in Python for Linux systems"; | ||
homepage = "http://pysensors.readthedocs.org"; | ||
licence = licencses.bsd2; |
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.
licenses
version = "2018-04-15"; | ||
pname = "pysensors"; | ||
|
||
src = fetchFromGitHub { |
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 add a comment that https://pypi.org/project/PySensors/ is a different package.
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.
Above src
?
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.
Yes
e53c910
to
7166bb4
Compare
@dotlambda Thank you for the review, changes done. |
@GrahamcOfBorg build python2.pkgs.pysensors python3.pkgs.pysensors |
Success on aarch64-linux (full log) Attempted: python2.pkgs.pysensors, python3.pkgs.pysensors Partial log (click to expand)
|
Can you try running the tests in https://github.com/bastienleonard/pysensors/tree/master/tests? Probably something like
|
7166bb4
to
2461037
Compare
Done. |
@GrahamcOfBorg build python2.pkgs.pysensors python3.pkgs.pysensors |
Failure on aarch64-linux (full log) Attempted: python2.pkgs.pysensors, python3.pkgs.pysensors Partial log (click to expand)
|
I guess that's a sandboxing thing. So we'll have to set |
1ed212d
to
a984c80
Compare
I wonder, perhaps aarch64-linux does not provide the sensors. I set |
|
a984c80
to
d20c2cf
Compare
Btw, I'm getting the same error in a sandboxed x86 build, so this is really not ARM-specific. |
@@ -0,0 +1,32 @@ | |||
{ stdenv, buildPythonPackage, python, fetchFromGitHub, lm_sensors }: | |||
buildPythonPackage rec { | |||
version = "2018-04-15"; |
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 think this should rather be 2017-07-13
.
d20c2cf
to
6a2c781
Compare
6a2c781
to
6392fb3
Compare
@GrahamcOfBorg build python2.pkgs.pysensors python3.pkgs.pysensors |
Success on x86_64-linux (full log) Attempted: python2.pkgs.pysensors, python3.pkgs.pysensors Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: python2.pkgs.pysensors, python3.pkgs.pysensors Partial log (click to expand)
|
Motivation for this change
Pysensors is a python package to read hardware sensors.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)