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

merge-request-notifier: init at 1.7.0 #89203

Closed
wants to merge 1 commit into from

Conversation

robaca
Copy link
Contributor

@robaca robaca commented May 30, 2020

Motivation for this change

New package for GitLab merge-request-notifier.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • 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 nixpkgs-review --run "nixpkgs-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)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@doronbehar
Copy link
Contributor

Is there a chance you could build it from source? Try to use yarn2nix

@robaca
Copy link
Contributor Author

robaca commented May 30, 2020

@doronbehar I will give it a try

@stale
Copy link

stale bot commented Nov 26, 2020

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Nov 26, 2020
Comment on lines +5 to +6
version = "1.7.0";
name = "merge-request-notifier";
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
version = "1.7.0";
name = "merge-request-notifier";
pname = "merge-request-notifier";
version = "1.7.0";

version = "1.7.0";
name = "merge-request-notifier";
src = fetchurl {
url = "https://github.com/codecentric/merge-request-notifier/releases/download/v1.7.0/merge-request-notifier-${version}.tar.xz";
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
url = "https://github.com/codecentric/merge-request-notifier/releases/download/v1.7.0/merge-request-notifier-${version}.tar.xz";
url = "https://github.com/codecentric/merge-request-notifier/releases/download/v${version}/merge-request-notifier-${version}.tar.xz";

Comment on lines +11 to +13

phases = "unpackPhase fixupPhase";

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
phases = "unpackPhase fixupPhase";

Please do not overwrite phases like this because it breaks hooks.

ln -s ${targetPath}/merge-request-notifier $out/bin/merge-request-notifier
'';

meta = with stdenv.lib; {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
meta = with stdenv.lib; {
meta = with lib; {

stdenv.lib got recently deprecated.

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Feb 9, 2021
@stale
Copy link

stale bot commented Aug 10, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Aug 10, 2021
@doronbehar
Copy link
Contributor

Closing due to no response from OP.

@doronbehar doronbehar closed this Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants