1{ lib, buildPythonPackage, fetchPypi, isPy3k 2, numpy 3, pyqt5 4}: 5 6buildPythonPackage rec { 7 pname = "qimage2ndarray"; 8 version = "1.9.0"; 9 disabled = !isPy3k; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "sha256-p5B1xtDYRDxEIu6WmlQJ5E/QJUVxYEzOqHXGyV4/Veo="; 14 }; 15 16 propagatedBuildInputs = [ 17 numpy 18 pyqt5 19 ]; 20 21 # no tests executed 22 doCheck = false; 23 24 meta = { 25 homepage = "https://github.com/hmeine/qimage2ndarray"; 26 description = "A small python extension for quickly converting between QImages and numpy.ndarrays (in both directions)"; 27 license = lib.licenses.bsd3; 28 maintainers = with lib.maintainers; [ tbenst ]; 29 }; 30}