depot/third_party/nixpkgs/pkgs/development/python-modules/qimage2ndarray/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

32 lines
683 B
Nix

{ lib, pkgs, buildPythonPackage, fetchPypi, isPy3k
, numpy
, pyqt5
, nose
}:
buildPythonPackage rec {
pname = "qimage2ndarray";
version = "1.8.2";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0f792693a0f1cd5f93fbf73bc3fb2d511fb9cceed3c9308bfb200f38c19a5545";
};
checkInputs = [
nose
];
propagatedBuildInputs = [
numpy
pyqt5
];
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 ];
};
}