Skip to content

pythonPackages.piexif: init at 1.0.12 #25563

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

Merged
merged 1 commit into from
May 15, 2017
Merged

Conversation

jluttine
Copy link
Member

@jluttine jluttine commented May 6, 2017

Motivation for this change

piexif is a dependency for another package that I'm going to pull request soon.

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
    • 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.

Sorry, something went wrong.

@mention-bot
Copy link

@jluttine, thanks for your PR! By analyzing the history of the files in this pull request, we identified @FRidh to be a potential reviewer.

# No .tar.gz source available at PyPI, only .zip source, so need to use
# fetchurl because fetchPypi doesn't support .zip.
src = fetchurl {
url = "mirror://pypi/packages/source/p/${pname}/${name}.zip";
Copy link
Member

Choose a reason for hiding this comment

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

this url repeats a portion and thus downloading the file fails. The following would work:

"mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.zip";

Copy link
Member Author

Choose a reason for hiding this comment

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

I made that change. Strange that I didn't get any download failures with that previous url.

@jluttine
Copy link
Member Author

Is this ok or does it need some fixes?

version = "1.0.12";

# pillow needed for unit tests
buildInputs = [ pillow ];
Copy link
Member

Choose a reason for hiding this comment

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

While not used much yet, checkInputs is meant for tests.

@FRidh FRidh merged commit 8b647e9 into NixOS:master May 15, 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.

None yet

3 participants