pythonPackages.qtpy: init at 1.3.1
This commit is contained in:
parent
f6592cc96d
commit
d1d4f91754
25
pkgs/development/python-modules/qtpy/default.nix
Normal file
25
pkgs/development/python-modules/qtpy/default.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi, pyside, pytest }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "QtPy";
|
||||||
|
version = "1.3.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "04skhjb2dbbhvpq0x71nnz2h68805fkxfpkdjhwvd7lzsljjbbq8";
|
||||||
|
};
|
||||||
|
|
||||||
|
# no concrete propagatedBuildInputs as multiple backends are supposed
|
||||||
|
checkInputs = [ pyside pytest ];
|
||||||
|
|
||||||
|
doCheck = false; # require X
|
||||||
|
checkPhase = ''
|
||||||
|
py.test qtpy/tests
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Abstraction layer for PyQt5/PyQt4/PySide2/PySide";
|
||||||
|
homepage = https://github.com/spyder-ide/qtpy;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
@ -17126,6 +17126,8 @@ in {
|
|||||||
|
|
||||||
qtconsole = callPackage ../development/python-modules/qtconsole { };
|
qtconsole = callPackage ../development/python-modules/qtconsole { };
|
||||||
|
|
||||||
|
qtpy = callPackage ../development/python-modules/qtpy { };
|
||||||
|
|
||||||
quantities = buildPythonPackage rec {
|
quantities = buildPythonPackage rec {
|
||||||
name = "quantities-0.10.1";
|
name = "quantities-0.10.1";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user