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.ewmh: init at 0.1.6 #38532
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.
Thanks. Some small changes are needed.
buildPythonPackage rec { | ||
pname = "ewmh"; | ||
version = "0.1.6"; | ||
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.
The name
attribute is added by buildPython*
and should therefore be removed.
@@ -0,0 +1,21 @@ | |||
{ lib, buildPythonPackage, fetchPypi, python-xlib }: |
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.
xlib
pkgs/top-level/python-packages.nix
Outdated
@@ -233,6 +233,10 @@ in { | |||
|
|||
email_validator = callPackage ../development/python-modules/email-validator { }; | |||
|
|||
ewmh = callPackage ../development/python-modules/ewmh { | |||
python-xlib = self.xlib; |
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
@GrahamcOfBorg build python3.pkgs.ewmh |
Success on x86_64-darwin (full log) Attempted: python3.pkgs.ewmh Partial log (click to expand)
|
This is an application and should therefore be called directly from |
Success on aarch64-linux (full log) Attempted: python3.pkgs.ewmh Partial log (click to expand)
|
No tests are found. Either the test runner cannot find tests and needs to be patched, or there simply are no tests in which case the tests need to be disabled. Do include a comment explaining why the tests are disabled. |
Success on x86_64-linux (full log) Attempted: python3.pkgs.ewmh Partial log (click to expand)
|
Thanks for the review. I've updated it with the necessary steps except for this:
It's a library:
Could you review it again? @FRidh |
@GrahamcOfBorg build python2.pkgs.ewmh python3.pkgs.ewmh |
Success on x86_64-linux (full log) Attempted: python2.pkgs.ewmh, python3.pkgs.ewmh Partial log (click to expand)
|
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.
It is indeed a library: http://ewmh.readthedocs.io/en/latest/ewmh.html
Success on aarch64-linux (full log) Attempted: python2.pkgs.ewmh, python3.pkgs.ewmh Partial log (click to expand)
|
Motivation for this change
Include pyewmh library.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)