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.aioconsole: init at 0.1.7 #34853
Conversation
buildPythonPackage rec { | ||
pname = "aioconsole"; | ||
version = "0.1.7"; | ||
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.
name = "${pname}-${version}"; | ||
|
||
# tests are not included in the version on PyPI | ||
src = fetchzip { |
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.
fetchFromGitHub
sha256 = "0p12viyngplqds7xkwysfh1nlgrny8hwja2mm2na0wzfxj04fbcd"; | ||
}; | ||
|
||
buildInputs = [ pytest pytest-asyncio pytestcov ]; |
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.
checkInputs
Also, you were building without sandbox and missed pytestrunner
.
}; | ||
|
||
buildInputs = [ pytest pytest-asyncio pytestcov ]; | ||
|
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.
doCheck = false;
is needed because our pytest-asyncio
is too new
meta = with stdenv.lib; { | ||
homepage = https://github.com/vxgmichel/aioconsole; | ||
license = licenses.gpl3; | ||
description = "Asynchronous console and interfaces for asyncio"; |
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.
will you maintain this expression?
@GrahamcOfBorg build pythonPackages.aioconsole python3Packages.aioconsole |
Success on x86_64-linux (full log) Partial log (click to expand)
|
Success on aarch64-linux (full log) Partial log (click to expand)
|
@GrahamcOfBorg build python3Packages.aioconsole |
Success on aarch64-linux (full log) Partial log (click to expand)
|
Success on x86_64-darwin (full log) Partial log (click to expand)
|
Success on x86_64-linux (full log) Partial log (click to expand)
|
Success on x86_64-linux (full log) Partial log (click to expand)
|
Success on x86_64-darwin (full log) Partial log (click to expand)
|
Success on aarch64-linux (full log) Partial log (click to expand)
|
Success on x86_64-darwin (full log) Partial log (click to expand)
|
Motivation for this change
Adding aioconsole. Note the comment in the expression about the caveat for the "apython" binary this derivation provides.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)