diff options
author | Orivej Desh <orivej@gmx.fr> | 2017-11-17 05:35:09 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2017-11-17 05:35:09 +0000 |
commit | d99a2fc093c1bffd41f0008689cd2be4f1b7dea6 (patch) | |
tree | 827becf0bb8f449b71439a22a1746698eb175612 /pkgs/development/python-modules/qtpy/default.nix | |
parent | 020a6663d319c7b4af5c0219bc451abdac12f62a (diff) | |
parent | 3ac474aee6ac977f67fa4ffd35da8af56df5fba8 (diff) | |
download | nixlib-d99a2fc093c1bffd41f0008689cd2be4f1b7dea6.tar nixlib-d99a2fc093c1bffd41f0008689cd2be4f1b7dea6.tar.gz nixlib-d99a2fc093c1bffd41f0008689cd2be4f1b7dea6.tar.bz2 nixlib-d99a2fc093c1bffd41f0008689cd2be4f1b7dea6.tar.lz nixlib-d99a2fc093c1bffd41f0008689cd2be4f1b7dea6.tar.xz nixlib-d99a2fc093c1bffd41f0008689cd2be4f1b7dea6.tar.zst nixlib-d99a2fc093c1bffd41f0008689cd2be4f1b7dea6.zip |
Merge branch 'master' into staging
* master: (293 commits) go_1_9: skip flaky TestServerCancelsReadTimeoutWhenIdle qsyncthingtray: fix build qt56.qtwebengine: fix build stdman: d860212 -> 2017.04.02 jackett: use mono50 hg-git: disable with python3 hg-git: 0.8.5 -> 0.8.10 xfce4-settings: enable parallel building gcc-snapshot: mark as broken heaptrack: 2017-02-14 -> 2017-10-30 nixos-container: Modify existing test to cover show-ip command nixos-container: Make show-ip work together with ipv4 + netmask linux-copperhead: 4.13.12.a -> 4.13.13.a matterbridge: 1.1.0 -> 1.4.1 nixos/nghttpx: add module for the nghttpx proxy server (#31680) mattermost: 4.3.0 -> 4.4.0 breakpad: delete simp_le: 0.2.0 -> 0.6.1 certbot: 0.11.1 -> 0.19.0 afl: 2.51b -> 2.52b ...
Diffstat (limited to 'pkgs/development/python-modules/qtpy/default.nix')
-rw-r--r-- | pkgs/development/python-modules/qtpy/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/qtpy/default.nix b/pkgs/development/python-modules/qtpy/default.nix new file mode 100644 index 000000000000..035ea32b3989 --- /dev/null +++ b/pkgs/development/python-modules/qtpy/default.nix @@ -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; + }; +} |