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

onefetch: init at 1.7.0 #72254

Closed
wants to merge 1 commit into from
Closed

onefetch: init at 1.7.0 #72254

wants to merge 1 commit into from

Conversation

Kloenk
Copy link
Member

@Kloenk Kloenk commented Oct 29, 2019

Motivation for this change

Adds onefetch for git repos analysis

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option 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 nix-review --run "nix-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.

@@ -3484,6 +3484,16 @@
github = "klntsky";
githubId = 18447310;
};
kloenk = {
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 mind creating a separate commit for adding an user?

, makeRustPlatform
, fetchFromGitHub
, lib
, ...
Copy link
Member

Choose a reason for hiding this comment

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

What is the purpose?


meta = with lib; {
homepage = https://github.com/o2sh/onefetch;
description = ''Displays information about your Git project directly on your terminal'';
Copy link
Member

Choose a reason for hiding this comment

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

Please don't use '' if no multi line.

CARGO_HOME = "$(mktemp -d cargo-home.XXX)";

meta = with lib; {
homepage = https://github.com/o2sh/onefetch;
Copy link
Member

Choose a reason for hiding this comment

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

Please use quotes if possible.

};
cargoSha256 = "0cpfjxn6nqsrnmgvjzr17n6xbbyfl9c91d5kbrmxb6jyig98k6aq";
buildInputs = [ ];
CARGO_HOME = "$(mktemp -d cargo-home.XXX)";
Copy link
Member

Choose a reason for hiding this comment

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

Isn't this created by fetchCargo?

sha256 = "1p16mg4ak9ppx3y11l3r4y6356drwhnmrlxsaqx01n53ii5ij9kg";
};
cargoSha256 = "0cpfjxn6nqsrnmgvjzr17n6xbbyfl9c91d5kbrmxb6jyig98k6aq";
buildInputs = [ ];
Copy link
Member

Choose a reason for hiding this comment

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

What is the reason to have an empty buldInputs?

, makeRustPlatform
, fetchFromGitHub
, lib
, ...
Copy link
Contributor

Choose a reason for hiding this comment

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

not needed

Suggested change
, ...

@Br1ght0ne Br1ght0ne mentioned this pull request Nov 25, 2019
10 tasks
@Kloenk
Copy link
Member Author

Kloenk commented Nov 26, 2019

I hade not so much time, because of school, so I will close this PR in favor of #74191

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

4 participants