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

Hangups 0.4.5 #44425

Closed
wants to merge 3 commits into from
Closed

Hangups 0.4.5 #44425

wants to merge 3 commits into from

Conversation

aswan89
Copy link

@aswan89 aswan89 commented Aug 3, 2018

Motivation for this change

Adds Google Hangouts terminal client to NixPkgs

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option 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/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

Copy link
Member

@dotlambda dotlambda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a prefix of pythonPackages. to the appropriate commit messages.
Also, the meta.maintainers field is required.

@@ -2287,7 +2287,7 @@ in {
});

elasticsearch-curator = callPackage ../development/python-modules/elasticsearch-curator { };

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this whitespace change

@dotlambda
Copy link
Member

@GrahamcOfBorg eval
@GrahamcOfBorg build python2.pkgs.readlike hangups

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python2.pkgs.readlike, hangups

Partial log (click to expand)

reading manifest template 'MANIFEST.in'
writing manifest file 'hangups.egg-info/SOURCES.txt'
running build_ext

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
/nix/store/ffm3k068bcl77q6hwm9n7li89kppy6cj-python2.7-readlike-0.1.2
/nix/store/5srdvbhl9ah0fyzyrqh64dxkbbsl7cqj-hangups-0.4.5

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: python2.pkgs.readlike, hangups

Partial log (click to expand)

reading manifest template 'MANIFEST.in'
writing manifest file 'hangups.egg-info/SOURCES.txt'
running build_ext

----------------------------------------------------------------------
Ran 0 tests in 0.001s

OK
/nix/store/r5z8aykmq7zld4rw2h62xwrlmv7xkja8-python2.7-readlike-0.1.2
/nix/store/5nnd19f7h8mxx9392aj3krqf5da7jg5m-hangups-0.4.5

@dotlambda
Copy link
Member

Ran 0 tests in 0.000s

Please provide an appropriate checkPhases or set doCheck = false with a comment saying why you're doing that.
Btw, it's very annoying to have to request the same changes again. Have a look at your previous PR. Also, please just keep this PR open and force push to your branch instead of opening a new one.

@Mic92
Copy link
Member

Mic92 commented Aug 3, 2018

@GrahamcOfBorg eval

1 similar comment
@LnL7
Copy link
Member

LnL7 commented Aug 3, 2018

@GrahamcOfBorg eval

@Mic92
Copy link
Member

Mic92 commented Aug 4, 2018

You might want to checkout interactive git-rebase, so you don't need to close and re-open pull requests for the same package.

@aswan89
Copy link
Author

aswan89 commented Aug 7, 2018

Requested changes have been pushed.

@dotlambda
Copy link
Member

@GrahamcOfBorg build python2.pkgs.readlike hangups

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python2.pkgs.readlike, hangups

Partial log (click to expand)

/build/hangups-0.4.5
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/68vddj0s4j7ll6d21kjsz8fp22ijqr1a-hangups-0.4.5
strip is /nix/store/1hi76hr87bd1y1q1qjk0lv8nmcjip1c8-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/68vddj0s4j7ll6d21kjsz8fp22ijqr1a-hangups-0.4.5/lib  /nix/store/68vddj0s4j7ll6d21kjsz8fp22ijqr1a-hangups-0.4.5/bin
patching script interpreter paths in /nix/store/68vddj0s4j7ll6d21kjsz8fp22ijqr1a-hangups-0.4.5
checking for references to /build in /nix/store/68vddj0s4j7ll6d21kjsz8fp22ijqr1a-hangups-0.4.5...
wrapping `/nix/store/68vddj0s4j7ll6d21kjsz8fp22ijqr1a-hangups-0.4.5/bin/hangups'...
/nix/store/ffm3k068bcl77q6hwm9n7li89kppy6cj-python2.7-readlike-0.1.2
/nix/store/68vddj0s4j7ll6d21kjsz8fp22ijqr1a-hangups-0.4.5

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: python2.pkgs.readlike, hangups

Partial log (click to expand)

/build/hangups-0.4.5
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/z7a04vhgyhhn7maqxlj07l1p4ns4aq0y-hangups-0.4.5
strip is /nix/store/zrs21zqcchgyabjf4xfimncdq16njizc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/z7a04vhgyhhn7maqxlj07l1p4ns4aq0y-hangups-0.4.5/lib  /nix/store/z7a04vhgyhhn7maqxlj07l1p4ns4aq0y-hangups-0.4.5/bin
patching script interpreter paths in /nix/store/z7a04vhgyhhn7maqxlj07l1p4ns4aq0y-hangups-0.4.5
checking for references to /build in /nix/store/z7a04vhgyhhn7maqxlj07l1p4ns4aq0y-hangups-0.4.5...
wrapping `/nix/store/z7a04vhgyhhn7maqxlj07l1p4ns4aq0y-hangups-0.4.5/bin/hangups'...
/nix/store/r5z8aykmq7zld4rw2h62xwrlmv7xkja8-python2.7-readlike-0.1.2
/nix/store/z7a04vhgyhhn7maqxlj07l1p4ns4aq0y-hangups-0.4.5

@dotlambda
Copy link
Member

Ran 0 tests in 0.000s

@aswan89
Copy link
Author

aswan89 commented Aug 23, 2018

The added dependencies have had their check phase disabled since the PyPi packages have no tests included.

@@ -0,0 +1,53 @@
{stdenv, python3, lib}:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either stdenv or lib.

@@ -0,0 +1,23 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, lib}:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either stdenv or lib.

@@ -0,0 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi, lib }:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either stdenv or lib.

@@ -11845,6 +11845,10 @@ in {

readme_renderer = callPackage ../development/python-modules/readme_renderer { };

readlike = callPackage ../development/python-modules/readlike { };

ReParser = callPackage ../development/python-modules/ReParser { };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use reparser, also for the directory name: #45822

@dotlambda
Copy link
Member

dotlambda commented Aug 31, 2018

Hangups seems to also be used as a library, e.g. by Home Assistant. So, it should be added to pythonPackages. What do you think?
This would mean we cannot override package versions, however we can probably just replace == by >= in postPatch.

@aswan89
Copy link
Author

aswan89 commented Aug 31, 2018

I waffled on whether to include it as a package vs. as an application. My reading of the Nix python documentation made it sound like the primary reason for building as a package vs. an application was so it would build for both python 2 and python 3. Hangups isn't compatible with python 3 at all so I figured it would be easier to build it as an application vs. trying to disable it for python 2.

@dotlambda
Copy link
Member

Well, if it is used using import ..., it should generally be added to pythonPackages.

@aanderse
Copy link
Member

@aswan89 are you able to address the above comments and continue with this PR?

@jonringer
Copy link
Contributor

bump

@stale
Copy link

stale bot commented Jun 17, 2020

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 17, 2020
@jonringer
Copy link
Contributor

the user's fork was deleted, and no progress in a year.

closing

@jonringer jonringer closed this Jun 17, 2020
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

7 participants