2021-11-12 10:22:34 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
2019-10-31 13:55:38 -07:00
|
|
|
, numpy
|
|
|
|
, pyqt5
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "qimage2ndarray";
|
2022-02-21 04:33:22 +00:00
|
|
|
version = "1.9.0";
|
2019-10-31 13:55:38 -07:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-02-21 04:33:22 +00:00
|
|
|
sha256 = "sha256-p5B1xtDYRDxEIu6WmlQJ5E/QJUVxYEzOqHXGyV4/Veo=";
|
2019-10-31 13:55:38 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
pyqt5
|
|
|
|
];
|
|
|
|
|
2021-01-25 00:56:48 +01:00
|
|
|
# no tests executed
|
|
|
|
doCheck = false;
|
|
|
|
|
2019-10-31 13:55:38 -07:00
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/hmeine/qimage2ndarray";
|
|
|
|
description = "A small python extension for quickly converting between QImages and numpy.ndarrays (in both directions)";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ tbenst ];
|
|
|
|
};
|
|
|
|
}
|