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

pidgin-discord: init at 0.9.2018.04.10.git.9a97886 #38679

Closed
wants to merge 0 commits into from

Conversation

S-NA
Copy link
Contributor

@S-NA S-NA commented Apr 10, 2018

Motivation for this change

Adds new pidgin plugin that brings Discord support. In addition, add myself to the maintainers list.

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.

];

installPhase = ''
install -Dm755 -t $out/lib/pidgin/ libdiscord.so
Copy link
Contributor

Choose a reason for hiding this comment

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

Does not the default install phase work? You can overwrite the pkgconfig variables using PKG_CONFIG_${package}_${variable} (e.g. PKG_CONFIG_PURPLE_PLUGINDIR = "lib/pidgin";)

buildInputs = [ pkgconfig pidgin json_glib ];

makeFlags = [
"PLUGIN_DIR_PURPLE=/lib/pidgin/"
Copy link
Contributor

Choose a reason for hiding this comment

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

Are these used anywhere?

sha256 = "0dc344zh1v4yh9c8javcw5ylzwc1wpx0ih8bww8p8cjmhr8kcl32";
};

buildInputs = [ pkgconfig pidgin json_glib ];
Copy link
Contributor

Choose a reason for hiding this comment

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

pkgconfig should go to nativeBuildInputs.


stdenv.mkDerivation rec {
name = "pidgin-discord-${version}";
version = "0.9.2018.04.10.git.9a97886";
Copy link
Contributor

Choose a reason for hiding this comment

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

version is supposed to be unstable-yyyy-mm-dd: https://nixos.org/nixpkgs/manual/#sec-package-naming

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

3 participants