1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-04 14:52:34 +03:00
nixpkgs/pkgs/development/python-modules/py3exiv2/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
768 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, isPy3k, fetchPypi, stdenv, exiv2, boost, libcxx }:
2017-10-30 19:34:41 +01:00
buildPythonPackage rec {
pname = "py3exiv2";
version = "0.11.0";
2017-10-30 19:34:41 +01:00
disabled = !(isPy3k);
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ZgDaa4lxmdTaZhkblgRfPMxfVwENp2s6xdKSuD/MqEQ=";
2017-10-30 19:34:41 +01:00
};
buildInputs = [ exiv2 boost ];
# work around python distutils compiling C++ with $CC (see issue #26709)
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${lib.getDev libcxx}/include/c++/v1";
2017-10-30 19:34:41 +01:00
meta = with lib; {
2017-10-30 19:34:41 +01:00
homepage = "https://launchpad.net/py3exiv2";
description = "A Python3 binding to the library exiv2";
license = licenses.gpl3;
maintainers = with maintainers; [ vinymeuh ];
platforms = with platforms; linux ++ darwin;
2017-10-30 19:34:41 +01:00
};
}