depot/third_party/nixpkgs/pkgs/development/python-modules/qimage2ndarray/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

35 lines
699 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
isPy3k,
numpy,
pyqt5,
}:
buildPythonPackage rec {
pname = "qimage2ndarray";
version = "1.10.0";
format = "setuptools";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
hash = "sha256-NyUQJEbcimlrLsd1sdKvQ7E69qf56+6KNxFbuVQ6LFg=";
};
propagatedBuildInputs = [
numpy
pyqt5
];
# no tests executed
doCheck = false;
meta = {
homepage = "https://github.com/hmeine/qimage2ndarray";
description = "Small python extension for quickly converting between QImages and numpy.ndarrays (in both directions)";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ tbenst ];
};
}