diff options
Diffstat (limited to 'pkgs/development')
8 files changed, 165 insertions, 124 deletions
diff --git a/pkgs/development/python-modules/coqpit/default.nix b/pkgs/development/python-modules/coqpit/default.nix index 96e18d76ba7..aa65432c15e 100644 --- a/pkgs/development/python-modules/coqpit/default.nix +++ b/pkgs/development/python-modules/coqpit/default.nix @@ -6,14 +6,14 @@ buildPythonPackage rec { pname = "coqpit"; - version = "0.0.9"; + version = "0.0.10"; format = "setuptools"; src = fetchFromGitHub { owner = "coqui-ai"; repo = pname; rev = "v${version}"; - sha256 = "1dh3bp7m9fjfrfrahblibrx91sagndkdi0325ail63kyvlhzbkma"; + sha256 = "1gcj5sffcmlvhhk6wbvmxppjpckb90q1avc07jbnb1vvrb2h9lr0"; }; checkInputs = [ diff --git a/pkgs/development/python-modules/huisbaasje-client/default.nix b/pkgs/development/python-modules/huisbaasje-client/default.nix new file mode 100644 index 00000000000..2ca1768342d --- /dev/null +++ b/pkgs/development/python-modules/huisbaasje-client/default.nix @@ -0,0 +1,34 @@ +{ lib +, buildPythonPackage +, pythonOlder +, fetchPypi +, aiohttp +}: + +buildPythonPackage rec { + pname = "huisbaasje-client"; + version = "0.1.0"; + + disabled = pythonOlder "3.6"; # requires python version >=3.6 + + src = fetchPypi { + inherit pname version; + sha256 = "6bc02384c37aba01719269b05882572050c80cd9abf98caa38519308e05b7db8"; + }; + + propagatedBuildInputs = [ + aiohttp + ]; + + # no tests on PyPI, no tags on GitHub + doCheck = false; + + pythonImportsCheck = [ "huisbaasje.huisbaasje" ]; + + meta = with lib; { + description = "Client for Huisbaasje"; + homepage = "https://github.com/denniss17/huisbaasje-client"; + license = licenses.asl20; + maintainers = with maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/development/python-modules/netdisco/default.nix b/pkgs/development/python-modules/netdisco/default.nix index dd17a3f6c10..08dc44a95c9 100644 --- a/pkgs/development/python-modules/netdisco/default.nix +++ b/pkgs/development/python-modules/netdisco/default.nix @@ -2,13 +2,13 @@ buildPythonPackage rec { pname = "netdisco"; - version = "2.8.3"; + version = "2.9.0"; disabled = !isPy3k; src = fetchPypi { inherit pname version; - sha256 = "sha256-4WS9PiErB6U7QuejTvbrOmnHetbE5S4zaUyhLCbyihM="; + sha256 = "sha256-OpLFM+0ZmhggJ1SuLoSO+qWLcKcpS65sd7u2zkzPys4="; }; propagatedBuildInputs = [ requests zeroconf ]; diff --git a/pkgs/development/python-modules/nextcloudmonitor/default.nix b/pkgs/development/python-modules/nextcloudmonitor/default.nix new file mode 100644 index 00000000000..d8e05f8459e --- /dev/null +++ b/pkgs/development/python-modules/nextcloudmonitor/default.nix @@ -0,0 +1,33 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, requests +}: + +buildPythonPackage rec { + pname = "nextcloudmonitor"; + version = "1.2.0"; + + src = fetchFromGitHub { + owner = "meichthys"; + repo = "nextcloud_monitor"; + rev = "v${version}"; + sha256 = "0b0c7gzx1d5kgbsfj1lbrqsirc5g5br6v8w2njaj1ys03kj669cx"; + }; + + propagatedBuildInputs = [ + requests + ]; + + # no tests implemented + doCheck = false; + + pythonImportsCheck = [ "nextcloudmonitor" ]; + + meta = with lib; { + description = "Python wrapper around nextcloud monitor api"; + homepage = "https://github.com/meichthys/nextcloud_monitor"; + license = licenses.mit; + maintainers = with maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/development/python-modules/pygti/default.nix b/pkgs/development/python-modules/pygti/default.nix new file mode 100644 index 00000000000..62316b3d4dd --- /dev/null +++ b/pkgs/development/python-modules/pygti/default.nix @@ -0,0 +1,51 @@ +{ lib +, buildPythonPackage +, pythonOlder +, fetchFromGitHub +, setuptools-scm +, aiohttp +, pytz +, voluptuous +}: + +buildPythonPackage rec { + pname = "pygti"; + version = "0.9.2"; + + disabled = pythonOlder "3.6"; + + src = fetchFromGitHub { + owner = "vigonotion"; + repo = "pygti"; + rev = "v${version}"; + sha256 = "0zqa2krsniaqisjr0xqw009wdyy3y48zar9lrwysjsqci7k07d9x"; + }; + + nativeBuildInputs = [ + setuptools-scm + ]; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + propagatedBuildInputs = [ + aiohttp + pytz + voluptuous + ]; + + # no tests implemented + doCheck = false; + + pythonImportsCheck = [ + "pygti.auth" + "pygti.exceptions" + "pygti.gti" + ]; + + meta = with lib; { + description = "Access public transport information in Hamburg, Germany"; + homepage = "https://github.com/vigonotion/pygti"; + license = licenses.asl20; + maintainers = with maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/development/python-modules/pyisy/default.nix b/pkgs/development/python-modules/pyisy/default.nix new file mode 100644 index 00000000000..046cfdae9af --- /dev/null +++ b/pkgs/development/python-modules/pyisy/default.nix @@ -0,0 +1,43 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, requests +, python-dateutil +, aiohttp +}: + +buildPythonPackage rec { + pname = "pyisy"; + version = "3.0.0"; + + src = fetchFromGitHub { + owner = "automicus"; + repo = "PyISY"; + rev = "v${version}"; + sha256 = "1bxp13m83qm1n1ddyw6mdz0ijfksjg4ki85w4n8i597f3xazm8q4"; + }; + + postPatch = '' + substituteInPlace setup.py \ + --replace "setuptools-git-version" "" \ + --replace 'version_format="{tag}"' 'version="${version}"' + ''; + + propagatedBuildInputs = [ + aiohttp + python-dateutil + requests + ]; + + # no tests implemented + doCheck = false; + + pythonImportsCheck = [ "pyisy" ]; + + meta = with lib; { + description = "Python module to talk to ISY994 from UDI"; + homepage = "https://github.com/automicus/PyISY"; + license = licenses.asl20; + maintainers = with maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/development/python-modules/spyder-kernels/0.x.nix b/pkgs/development/python-modules/spyder-kernels/0.x.nix deleted file mode 100644 index 43a2f5b460f..00000000000 --- a/pkgs/development/python-modules/spyder-kernels/0.x.nix +++ /dev/null @@ -1,72 +0,0 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, cloudpickle -, ipykernel -, wurlitzer -, jupyter_client -, pyzmq -, numpy -, pandas -, scipy -, matplotlib -, xarray -, pytestCheckHook -, flaky -, isPy3k -}: - -buildPythonPackage rec { - pname = "spyder-kernels"; - version = "0.5.2"; - - src = fetchFromGitHub { - owner = "spyder-ide"; - repo = "spyder-kernels"; - rev = "v${version}"; - sha256 = "1yan589g0470y61bcyjy3wj13i94ndyffckqdyrg97vw2qhfrisb"; - }; - - # requirement xarray not available on Py2k - disabled = !isPy3k; - - propagatedBuildInputs = [ - cloudpickle - ipykernel - wurlitzer - jupyter_client - pyzmq - ]; - - checkInputs = [ - numpy - pandas - scipy - matplotlib - xarray - pytestCheckHook - flaky - ]; - - preCheck = '' - export JUPYTER_RUNTIME_DIR=$(mktemp -d) - ''; - - # skipped tests: - # turtle requires graphics - # cython test fails, I don't think this can ever access cython? - # umr pathlist test assumes standard directories, not compatible with nix - disabledTests = [ - "test_turtle_launc" - "test_umr_skip_cython" - "test_umr_pathlist" - "test_user_sitepackages_in_pathlist" - ]; - - meta = with lib; { - description = "Jupyter kernels for Spyder's console"; - homepage = "https://github.com/spyder-ide/spyder-kernels"; - license = licenses.mit; - maintainers = with maintainers; [ gebner marcus7070 ]; - }; -} diff --git a/pkgs/development/python-modules/spyder/3.nix b/pkgs/development/python-modules/spyder/3.nix deleted file mode 100644 index 2618ccfcd8c..00000000000 --- a/pkgs/development/python-modules/spyder/3.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ lib, buildPythonPackage, fetchFromGitHub, jedi, pycodestyle, - psutil, pyflakes, rope, pylint, keyring, numpydoc, - qtconsole, qtawesome, nbconvert, mccabe, pyopengl, cloudpickle, pygments, - spyder-kernels_0_5, qtpy, pyzmq, chardet, pyqtwebengine -}: - -buildPythonPackage rec { - pname = "spyder"; - version = "3.3.6"; - - src = fetchFromGitHub { - owner = "spyder-ide"; - repo = "spyder"; - rev = "v3.3.6"; - sha256 = "1sk9xajhzpklk5bcbdhpfhx3gxhyrahsmj9bv2m6kvbqxdlx6bq6"; - }; - - propagatedBuildInputs = [ - jedi pycodestyle psutil pyflakes rope pylint keyring numpydoc - qtconsole qtawesome nbconvert mccabe pyopengl cloudpickle spyder-kernels_0_5 - pygments qtpy pyzmq chardet pyqtwebengine - ]; - - # tests fail with a segfault - doCheck = false; - - postPatch = '' - # remove dependency on pyqtwebengine - # this is still part of the pyqt 5.13 version we have in nixpkgs - sed -i /pyqtwebengine/d setup.py - substituteInPlace setup.py --replace "pyqt5<5.13" "pyqt5" - ''; - - pythonImportsCheck = [ "spyder" ]; - - meta = with lib; { - description = "Library providing a scientific python development environment"; - longDescription = '' - Spyder (previously known as Pydee) is a powerful interactive development - environment for the Python language with advanced editing, interactive - testing, debugging and introspection features. - ''; - homepage = "https://github.com/spyder-ide/spyder/"; - license = licenses.mit; - platforms = platforms.linux; - maintainers = with maintainers; [ gebner marcus7070 ]; - }; -} |