mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
b5f6513d3b
- Inherit basically everything from zxing-cpp - Remove patches
31 lines
387 B
Nix
31 lines
387 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, cmake
|
|
, numpy
|
|
, pillow
|
|
, pybind11
|
|
, zxing-cpp
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zxing_cpp";
|
|
inherit (zxing-cpp) src version meta;
|
|
|
|
sourceRoot = "${src.name}/wrappers/python";
|
|
|
|
dontUseCmakeConfigure = true;
|
|
|
|
propagatedBuildInputs = [
|
|
pybind11
|
|
numpy
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pillow
|
|
];
|
|
}
|