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

pup: rename attr, go-pup -> pup, clean up, 20160425-e76307d -> 0.4.0, add meta #32872

Merged
merged 4 commits into from
Dec 20, 2017

Conversation

lukateras
Copy link
Member

@lukateras lukateras commented Dec 19, 2017

Motivation for this change

pup is a very popular tool (4084 stars on GitHub) and in my opinion deserves a three-letter attrname and an update to a stable version :-)

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.

@lukateras lukateras changed the title pup: rename attr, go-pup -> pup, clean up, 20160425-e76307d -> 0.4.0 pup: rename attr, go-pup -> pup, clean up, 20160425-e76307d -> 0.4.0, add meta Dec 20, 2017
@@ -4136,6 +4134,8 @@ with pkgs;
libXNVCtrl = linuxPackages.nvidia_x11.settings.libXNVCtrl;
};

pup = callPackage ../development/tools/pup { };
Copy link
Contributor

Choose a reason for hiding this comment

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

Please move it to the development/tools (### DEVELOPMENT / TOOLS) section.

homepage = "https://${goPackagePath}";
license = licenses.mit;
maintainers = with maintainers; [ yegortimoshenko ];
platforms = platforms.all;
Copy link
Contributor

Choose a reason for hiding this comment

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

FYI buildGoPackage automatically sets platforms, but setting it explicitly is also fine. (I checked again to see if it automatically sets homepage, but it does not. You may as well make it do in pkgs/development/go-modules/generic/default.nix.)

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!

@lukateras
Copy link
Member Author

All fixed!

@orivej orivej merged commit 9c65f44 into NixOS:master Dec 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants