diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-12-04 22:06:42 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-12-04 22:06:42 +0100 |
commit | fe8eef1ae448bf3631c9e5be919c8456da35a006 (patch) | |
tree | 6a17c6d6d327504716b74f247362092c35d6e1cb /pkgs/development/libraries/zxing-cpp/default.nix | |
parent | 21835cba160d694e75d8ce7cac56b267b36aeb3d (diff) | |
parent | c94cdd0978d707c08ffdfba54e682a8b553263e1 (diff) |
Merge remote-tracking branch 'origin/master' into staging-next
Diffstat (limited to 'pkgs/development/libraries/zxing-cpp/default.nix')
-rw-r--r-- | pkgs/development/libraries/zxing-cpp/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/zxing-cpp/default.nix b/pkgs/development/libraries/zxing-cpp/default.nix index b9d61e5af626d..bcddfa96552f7 100644 --- a/pkgs/development/libraries/zxing-cpp/default.nix +++ b/pkgs/development/libraries/zxing-cpp/default.nix @@ -3,6 +3,7 @@ , fetchFromGitHub , pkg-config , cmake +, python3 }: stdenv.mkDerivation rec { @@ -37,6 +38,10 @@ stdenv.mkDerivation rec { --replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@ ''; + passthru.tests = { + inherit (python3.pkgs) zxing_cpp; + }; + meta = with lib; { homepage = "https://github.com/nu-book/zxing-cpp"; description = "C++ port of zxing (a Java barcode image processing library)"; |