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

svaba: init at 1.1.0 #72326

Merged
merged 1 commit into from Dec 8, 2019
Merged

Conversation

scalavision
Copy link
Contributor

Motivation for this change
Things done
  • [ x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • [x ] 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"
  • [x ] Tested execution of all binary files (usually in ./result/bin/)
  • [ x] Determined the impact on package closure size (by running nix path-info -S before and after)
  • [ x] Ensured that relevant documentation is up to date
  • [ x] Fits CONTRIBUTING.md.
Notify maintainers

cc @ vyp

@scalavision
Copy link
Contributor Author

scalavision commented Oct 30, 2019

Thanks for your feedback @vyp !!

I made a mistake while squashing, so had to recreate the PR. Hope everything is fine now :-)

You commented that I had forgotten to reuse pname in repo attribute, and version in rev attribute under src.


src = fetchFromGitHub {
owner = "walaj";
repo = "${pname}";
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
repo = "${pname}";
repo = "pname;

src = fetchFromGitHub {
owner = "walaj";
repo = "${pname}";
rev = "${version}";
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
rev = "${version}";
rev = version;

Comment on lines 24 to 28
description = "Structural variant and INDEL caller for DNA sequencing data, using genome-wide local assembly";
license = licenses.gpl3;
maintainers = with maintainers; [ scalavision ];
platforms = platforms.linux;
Copy link
Contributor

Choose a reason for hiding this comment

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

add the github repo as a home page, please

pkgs/applications/science/biology/svaba/default.nix Outdated Show resolved Hide resolved
installPhase = ''
runHook preInstall
install -Dm555 src/svaba/svaba $out/bin/svaba
runHook postInstal
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
runHook postInstal
runHook postInstall

@scalavision
Copy link
Contributor Author

sorry for my silly mistakes! I've think I've fixed everything now @jonringer , @vyp

Thanks again for helping out :-)

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/explicit-runhook-in-derivation/4614/10

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/explicit-runhook-in-derivation/4614/14

@scalavision
Copy link
Contributor Author

Regarding the discussions on nixos-discourse. I've added those hooks based upon feedback on this PR. I have not enough insight into nix package internals, so I'll do whatever is suggested.

Copy link
Member

@Lassulus Lassulus left a comment

Choose a reason for hiding this comment

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

tested with nix-review

@Lassulus Lassulus merged commit 3dfabd6 into NixOS:master Dec 8, 2019
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

5 participants