Skip to content
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

Merged
merged 1 commit into from Feb 11, 2018
Merged

pythonPackages.aioconsole: init at 0.1.7 #34853

merged 1 commit into from Feb 11, 2018

Conversation

catern
Copy link
Contributor

@catern catern commented Feb 11, 2018

Motivation for this change

Adding aioconsole. Note the comment in the expression about the caveat for the "apython" binary this derivation provides.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

buildPythonPackage rec {
pname = "aioconsole";
version = "0.1.7";
name = "${pname}-${version}";
Copy link
Member

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 {
Copy link
Member

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 ];
Copy link
Member

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 ];

Copy link
Member

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";
Copy link
Member

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?

@Mic92
Copy link
Member

Mic92 commented Feb 11, 2018

@GrahamcOfBorg build pythonPackages.aioconsole python3Packages.aioconsole

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

Successfully installed aioconsole-0.1.7
/tmp/nix-build-python2.7-aioconsole-0.1.7.drv-0/aioconsole-0.1.7
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/rlvwdx0l2zm5s8cjirci1mi8sh362ckk-python2.7-aioconsole-0.1.7
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/rlvwdx0l2zm5s8cjirci1mi8sh362ckk-python2.7-aioconsole-0.1.7/lib  /nix/store/rlvwdx0l2zm5s8cjirci1mi8sh362ckk-python2.7-aioconsole-0.1.7/bin 
patching script interpreter paths in /nix/store/rlvwdx0l2zm5s8cjirci1mi8sh362ckk-python2.7-aioconsole-0.1.7
checking for references to /tmp/nix-build-python2.7-aioconsole-0.1.7.drv-0 in /nix/store/rlvwdx0l2zm5s8cjirci1mi8sh362ckk-python2.7-aioconsole-0.1.7...
wrapping `/nix/store/rlvwdx0l2zm5s8cjirci1mi8sh362ckk-python2.7-aioconsole-0.1.7/bin/apython'...
/nix/store/rlvwdx0l2zm5s8cjirci1mi8sh362ckk-python2.7-aioconsole-0.1.7

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

Successfully installed aioconsole-0.1.7
/build/aioconsole-0.1.7
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/39plpq9qb1c29q077skm7pjh4m508iy7-python2.7-aioconsole-0.1.7
strip is /nix/store/xmpjypwjmp2qi1chs5kr0hacnh161ls4-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/39plpq9qb1c29q077skm7pjh4m508iy7-python2.7-aioconsole-0.1.7/lib  /nix/store/39plpq9qb1c29q077skm7pjh4m508iy7-python2.7-aioconsole-0.1.7/bin
patching script interpreter paths in /nix/store/39plpq9qb1c29q077skm7pjh4m508iy7-python2.7-aioconsole-0.1.7
checking for references to /build in /nix/store/39plpq9qb1c29q077skm7pjh4m508iy7-python2.7-aioconsole-0.1.7...
wrapping `/nix/store/39plpq9qb1c29q077skm7pjh4m508iy7-python2.7-aioconsole-0.1.7/bin/apython'...
/nix/store/39plpq9qb1c29q077skm7pjh4m508iy7-python2.7-aioconsole-0.1.7

@Mic92
Copy link
Member

Mic92 commented Feb 11, 2018

@GrahamcOfBorg build python3Packages.aioconsole

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

/build/aioconsole-0.1.7
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/x52gi694a5i0l3p7qlhiw40ib74lf5hb-python3.6-aioconsole-0.1.7
strip is /nix/store/xmpjypwjmp2qi1chs5kr0hacnh161ls4-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/x52gi694a5i0l3p7qlhiw40ib74lf5hb-python3.6-aioconsole-0.1.7/lib  /nix/store/x52gi694a5i0l3p7qlhiw40ib74lf5hb-python3.6-aioconsole-0.1.7/bin
patching script interpreter paths in /nix/store/x52gi694a5i0l3p7qlhiw40ib74lf5hb-python3.6-aioconsole-0.1.7
checking for references to /build in /nix/store/x52gi694a5i0l3p7qlhiw40ib74lf5hb-python3.6-aioconsole-0.1.7...
wrapping `/nix/store/x52gi694a5i0l3p7qlhiw40ib74lf5hb-python3.6-aioconsole-0.1.7/bin/apython'...
/nix/store/39plpq9qb1c29q077skm7pjh4m508iy7-python2.7-aioconsole-0.1.7
/nix/store/x52gi694a5i0l3p7qlhiw40ib74lf5hb-python3.6-aioconsole-0.1.7

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Partial log (click to expand)

/private/tmp/nix-build-python3.6-aioconsole-0.1.7.drv-0/aioconsole-0.1.7
post-installation fixup
patching script interpreter paths in /nix/store/ir6sslz1ss3cknhiaq0wcrfp5vmw327m-python2.7-aioconsole-0.1.7
strip is /nix/store/5a88zk3jgimdmzg8rfhvm93kxib3njf9-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/v9rnccj2vfvqx8kf49nir8f4qbdsh74a-python3.6-aioconsole-0.1.7/lib  /nix/store/v9rnccj2vfvqx8kf49nir8f4qbdsh74a-python3.6-aioconsole-0.1.7/bin
patching script interpreter paths in /nix/store/v9rnccj2vfvqx8kf49nir8f4qbdsh74a-python3.6-aioconsole-0.1.7
wrapping `/nix/store/ir6sslz1ss3cknhiaq0wcrfp5vmw327m-python2.7-aioconsole-0.1.7/bin/apython'...
wrapping `/nix/store/v9rnccj2vfvqx8kf49nir8f4qbdsh74a-python3.6-aioconsole-0.1.7/bin/apython'...
/nix/store/ir6sslz1ss3cknhiaq0wcrfp5vmw327m-python2.7-aioconsole-0.1.7
/nix/store/v9rnccj2vfvqx8kf49nir8f4qbdsh74a-python3.6-aioconsole-0.1.7

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

/build/aioconsole-0.1.7
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/1qalwycvlwafp5aqf7r2g5ywwvlsjwvq-python3.6-aioconsole-0.1.7
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/1qalwycvlwafp5aqf7r2g5ywwvlsjwvq-python3.6-aioconsole-0.1.7/lib  /nix/store/1qalwycvlwafp5aqf7r2g5ywwvlsjwvq-python3.6-aioconsole-0.1.7/bin
patching script interpreter paths in /nix/store/1qalwycvlwafp5aqf7r2g5ywwvlsjwvq-python3.6-aioconsole-0.1.7
checking for references to /build in /nix/store/1qalwycvlwafp5aqf7r2g5ywwvlsjwvq-python3.6-aioconsole-0.1.7...
wrapping `/nix/store/1qalwycvlwafp5aqf7r2g5ywwvlsjwvq-python3.6-aioconsole-0.1.7/bin/apython'...
/nix/store/rlvwdx0l2zm5s8cjirci1mi8sh362ckk-python2.7-aioconsole-0.1.7
/nix/store/1qalwycvlwafp5aqf7r2g5ywwvlsjwvq-python3.6-aioconsole-0.1.7

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

Successfully installed aioconsole-0.1.7
/tmp/nix-build-python3.6-aioconsole-0.1.7.drv-0/aioconsole-0.1.7
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/1qalwycvlwafp5aqf7r2g5ywwvlsjwvq-python3.6-aioconsole-0.1.7
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/1qalwycvlwafp5aqf7r2g5ywwvlsjwvq-python3.6-aioconsole-0.1.7/lib  /nix/store/1qalwycvlwafp5aqf7r2g5ywwvlsjwvq-python3.6-aioconsole-0.1.7/bin 
patching script interpreter paths in /nix/store/1qalwycvlwafp5aqf7r2g5ywwvlsjwvq-python3.6-aioconsole-0.1.7
checking for references to /tmp/nix-build-python3.6-aioconsole-0.1.7.drv-0 in /nix/store/1qalwycvlwafp5aqf7r2g5ywwvlsjwvq-python3.6-aioconsole-0.1.7...
wrapping `/nix/store/1qalwycvlwafp5aqf7r2g5ywwvlsjwvq-python3.6-aioconsole-0.1.7/bin/apython'...
/nix/store/1qalwycvlwafp5aqf7r2g5ywwvlsjwvq-python3.6-aioconsole-0.1.7

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Partial log (click to expand)

/nix/store/v9rnccj2vfvqx8kf49nir8f4qbdsh74a-python3.6-aioconsole-0.1.7

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

/nix/store/x52gi694a5i0l3p7qlhiw40ib74lf5hb-python3.6-aioconsole-0.1.7

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Partial log (click to expand)

Processing ./aioconsole-0.1.7-py2-none-any.whl
Installing collected packages: aioconsole
Successfully installed aioconsole-0.1.7
/private/tmp/nix-build-python2.7-aioconsole-0.1.7.drv-0/aioconsole-0.1.7
post-installation fixup
strip is /nix/store/5a88zk3jgimdmzg8rfhvm93kxib3njf9-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/ir6sslz1ss3cknhiaq0wcrfp5vmw327m-python2.7-aioconsole-0.1.7/lib  /nix/store/ir6sslz1ss3cknhiaq0wcrfp5vmw327m-python2.7-aioconsole-0.1.7/bin
patching script interpreter paths in /nix/store/ir6sslz1ss3cknhiaq0wcrfp5vmw327m-python2.7-aioconsole-0.1.7
wrapping `/nix/store/ir6sslz1ss3cknhiaq0wcrfp5vmw327m-python2.7-aioconsole-0.1.7/bin/apython'...
/nix/store/ir6sslz1ss3cknhiaq0wcrfp5vmw327m-python2.7-aioconsole-0.1.7

@Mic92 Mic92 merged commit 1f4ac3b into NixOS:master Feb 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants