mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
72ed3c4912
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-qtpy/versions
(cherry picked from commit 7f52789aad
)
26 lines
618 B
Nix
26 lines
618 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, pyside, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "QtPy";
|
|
version = "1.7.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0gjg7farw6mkmrwqcg6ms7j74g8py2msvawddji4wy8yfvql1ifl";
|
|
};
|
|
|
|
# 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;
|
|
};
|
|
}
|