Merge pull request #31703 from Mic92/rope

Rope / spyder update
This commit is contained in:
Frederik Rietdijk
2017-11-15 21:21:38 +01:00
committed by GitHub
5 changed files with 86 additions and 37 deletions

View File

@@ -0,0 +1,19 @@
{ stdenv, buildPythonPackage, fetchPypi, qtpy, six, pyside }:
buildPythonPackage rec {
pname = "QtAwesome";
version = "0.4.4";
src = fetchPypi {
inherit pname version;
sha256 = "12l71wh9fcd79d6c7qfzp029iph6gv4daxpg2ddpzr9lrvcw3yah";
};
propagatedBuildInputs = [ qtpy six pyside ];
meta = with stdenv.lib; {
description = "Iconic fonts in PyQt and PySide applications";
homepage = https://github.com/spyder-ide/qtawesome;
license = licenses.mit;
};
}

View 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;
};
}

View File

@@ -0,0 +1,18 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "rope";
version = "0.10.7";
src = fetchPypi {
inherit pname version;
sha256 = "1lc01pjn0yr6yqcpbf6kk170zg8zhnyzj8kqlsch1mag0g9dz7m0";
};
meta = with stdenv.lib; {
description = "Python refactoring library";
homepage = https://github.com/python-rope/rope;
maintainers = with maintainers; [ goibhniu ];
license = licenses.gpl2;
};
}