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