uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
48
pkgs/development/python-modules/py3exiv2/default.nix
Normal file
48
pkgs/development/python-modules/py3exiv2/default.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, boost
|
||||
, buildPythonPackage
|
||||
, exiv2
|
||||
, fetchPypi
|
||||
, libcxx
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "py3exiv2";
|
||||
version = "0.11.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-ZgDaa4lxmdTaZhkblgRfPMxfVwENp2s6xdKSuD/MqEQ=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
boost
|
||||
exiv2
|
||||
];
|
||||
|
||||
# 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"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyexiv2"
|
||||
];
|
||||
|
||||
# Tests are not shipped
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "Python binding to the library exiv2";
|
||||
homepage = "https://launchpad.net/py3exiv2";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ vinymeuh ];
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue