Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 32 lines 683 B view raw
1{ lib, pkgs, buildPythonPackage, fetchPypi, isPy3k 2, numpy 3, pyqt5 4, nose 5}: 6 7buildPythonPackage rec { 8 pname = "qimage2ndarray"; 9 version = "1.8.3"; 10 disabled = !isPy3k; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "b02bd2dc7de774f954544312ec1020cf2d7e03fdd23ec9eb79901da55ccb3365"; 15 }; 16 17 checkInputs = [ 18 nose 19 ]; 20 21 propagatedBuildInputs = [ 22 numpy 23 pyqt5 24 ]; 25 26 meta = { 27 homepage = "https://github.com/hmeine/qimage2ndarray"; 28 description = "A small python extension for quickly converting between QImages and numpy.ndarrays (in both directions)"; 29 license = lib.licenses.bsd3; 30 maintainers = with lib.maintainers; [ tbenst ]; 31 }; 32}