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

nomacs: init at 3.4 #24580

Merged
merged 3 commits into from Apr 3, 2017
Merged

nomacs: init at 3.4 #24580

merged 3 commits into from Apr 3, 2017

Conversation

ahmedtd
Copy link
Contributor

@ahmedtd ahmedtd commented Apr 2, 2017

Motivation for this change

Add nomacs-3.4, a Qt-based image viewer.

Things done
  • Tested using sandboxing
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • 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.

@mention-bot
Copy link

@ahmedtd, thanks for your PR! By analyzing the history of the files in this pull request, we identified @zimbatm, @zraexy and @vcunat to be potential reviewers.


patches = [./fix-appdata-install.patch];

buildInputs = [cmake
Copy link
Contributor

Choose a reason for hiding this comment

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

Cmake pkgconfig and makeWrapper belong in nativeBuildInputs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK, done.

stdenv.mkDerivation rec {
version = "3.4";
src = fetchurl {
url = "https://github.com/nomacs/nomacs/archive/${version}.tar.gz";
Copy link
Member

Choose a reason for hiding this comment

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

We prefer fetchFromGitHub usually here.

src = fetchurl {
url = "https://github.com/nomacs/nomacs/archive/${version}.tar.gz";
sha256 = "552eda88aedea48831ce354095e3aad47892b4b5029f424171bedb68271c2a2f";
sha512 = "67a1b57971dc373d5a3be75b7deaff6702893252568eef135903754b2465416a58b40f18f55cf2994c8c3853ae96b82506c1caf26b0e645c20179a9cd81c0d36";
Copy link
Member

Choose a reason for hiding this comment

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

There is no need for having both checksum. Only one checksum is evaluated at the moment.

@Mic92 Mic92 merged commit 438ac66 into NixOS:master Apr 3, 2017
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