Skip to content

Instantly share code, notes, and snippets.

Created February 17, 2018 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/b3ba291d6c2b57989ee4dd08225613ad to your computer and use it in GitHub Desktop.
Save anonymous/b3ba291d6c2b57989ee4dd08225613ad to your computer and use it in GitHub Desktop.
wcp = pkg.stdenv.mkDerivation {
name = "weechatplus";
buildInputs = with pkgs; [ makeWrapper pythonPackages.websocket_client pythonPackages.twitter pythonPackages.pytz python weechat ];
buildCommand = ''
mkdir -p $out/bin
makeWrapper ${pkgs.weechat}/bin/weechat $out/bin/weechat --prefix PYTHONPATH : $PYTHONPATH
'';
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment