Skip to content

mikutter: new package #25852

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

Closed
wants to merge 7 commits into from
Closed

mikutter: new package #25852

wants to merge 7 commits into from

Conversation

midchildan
Copy link
Member

@midchildan midchildan commented May 17, 2017

Motivation for this change

mikutter is an extensible Twitter client.

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
    • Linux
  • 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.

@midchildan midchildan force-pushed the mikutter branch 3 times, most recently from d54aecb to 2abdf82 Compare May 17, 2017 15:13
@AndersonTorres
Copy link
Member

AndersonTorres commented May 17, 2017 via email

@midchildan
Copy link
Member Author

Thanks. I have updated the commits.

@midchildan
Copy link
Member Author

mikutter wasn't working well in a test environment, so I pushed a little fix that sets GI_TYPELIB_PATH when launching mikutter. It seems to be working fine now.

{stdenv, fetchurl}:

stdenv.mkDerivation rec {
name = "pthread-stubs-${version}";
Copy link
Member

Choose a reason for hiding this comment

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

we already have this package in pkgs/servers/x11/xorg/default.nix. It is reachable via xlibs.libpthreadstubs

# hack wrapGAppsHook wants a file not a symlink
mv $out/mikutter.rb $out/bin/mikutter

gappsWrapperArgs+=(
Copy link
Member

@Mic92 Mic92 May 20, 2017

Choose a reason for hiding this comment

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

Using wrapGAppsHook is always a good idea, as it fixes a number of other things.

@@ -0,0 +1,37 @@
alias __source_distinct__ source
Copy link
Member

@Mic92 Mic92 May 20, 2017

Choose a reason for hiding this comment

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

That file would be smaller if mikutter would had a gemspec. Than something like ./pkgs/tools/security/metasploit would be possible.

Copy link
Member Author

Choose a reason for hiding this comment

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

Unfortunately, mikutter doesn't provide one.

gtk2
xorg.libXdmcp
pcre
pthread_stubs
Copy link
Member

Choose a reason for hiding this comment

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

I think this file needs to be revisited now, as I have removed pthread_stubs.

description = "An extensible Twitter client";
homepage = "https://mikutter.hachune.net";
platforms = ruby.meta.platforms;
license = licenses.mit;
Copy link
Member

Choose a reason for hiding this comment

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

Do you want to maintain this package?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure :-)

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@Mic92 Mic92 closed this in 2c39316 May 21, 2017
@midchildan midchildan deleted the mikutter branch May 21, 2017 11:43
@Janik-Haag Janik-Haag added the 12. first-time contribution This PR is the author's first one; please be gentle! label Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
12. first-time contribution This PR is the author's first one; please be gentle!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants