nixpkgs/pkgs/development/python-modules/zxing_cpp/default.nix
Anderson Torres b5f6513d3b python3.pkgs.zxing_cpp: refactor
- Inherit basically everything from zxing-cpp
- Remove patches
2023-09-02 11:19:33 +00:00

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
];
}