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

mrtrix3: init at 0.3.16 #33892

Closed
wants to merge 6 commits into from
Closed

Conversation

ashgillman
Copy link
Contributor

@ashgillman ashgillman commented Jan 15, 2018

Motivation for this change

Add MRTrix3

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.

Needed for sandbox build.
@ashgillman
Copy link
Contributor Author

Not sure of an appropriate reviewer, perhaps @ttuegel as I am unsure I have correctly assigned qt dependencies as buildInputs vs. nativeBuildInputs.

@@ -18870,6 +18870,8 @@ with pkgs;

mrbayes = callPackage ../applications/science/biology/mrbayes { };

mrtrix3 = callPackage ../applications/science/biology/mrtrix { };
Copy link
Member

Choose a reason for hiding this comment

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

You should use qt56.callPackage here instead of callPackage.

};

nativeBuildInputs = [
qt56.qmake
Copy link
Member

Choose a reason for hiding this comment

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

You can remove the qt56. prefix from qmake, qtscript, and qtsvg.


nativeBuildInputs = [
qt56.qmake
qt56.qtscript
Copy link
Member

Choose a reason for hiding this comment

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

qmake is a nativeBuildInput because it is a build tool, but qtscript is a runtime dependency that should go in buildInputs.

@ashgillman
Copy link
Contributor Author

Thanks for the review. I have made all suggested changes.

I also created a new category: science/imaging. If accepted, I will make a new PR to move science/biology/ants to science/imaging/ants also, as it is a more appropriate classification. I also have some other packages to contribute upstream that would belong there.

@7c6f434c
Copy link
Member

Tried to merge — a strange build problem about operator []

@bcdarwin
Copy link
Member

bcdarwin commented Apr 3, 2020

mrtrix was added in #80292.

@ashgillman
Copy link
Contributor Author

Looks better to me, thanks @bcdarwin

@ashgillman ashgillman closed this Apr 6, 2020
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

7 participants