lol

prospector: 1.2.0 -> 1.5.1

+30 -37
+25 -30
pkgs/development/tools/prospector/default.nix
··· 1 1 { lib 2 2 , pkgs 3 - , python 3 + , python3 4 4 }: 5 5 6 6 let 7 - py = python.override { 8 - packageOverrides = self: super: { 9 - pep8-naming = super.pep8-naming.overridePythonAttrs(oldAttrs: rec { 10 - version = "0.4.1"; 11 - src = oldAttrs.src.override { 12 - inherit version; 13 - sha256 = "0nhf8p37y008shd4f21bkj5pizv8q0l8cpagyyb8gr059d6gvvaf"; 14 - }; 15 - }); 16 - }; 17 - }; 18 - setoptconf = py.pkgs.callPackage ./setoptconf.nix { }; 7 + setoptconf-tmp = python3.pkgs.callPackage ./setoptconf.nix { }; 19 8 in 20 9 21 - with py.pkgs; 10 + with python3.pkgs; 22 11 23 12 buildPythonApplication rec { 24 13 pname = "prospector"; 25 - version = "1.2.0"; 26 - disabled = isPy27; 14 + version = "1.5.1"; 15 + format = "pyproject"; 16 + disabled = pythonOlder "3.6.1"; 27 17 28 18 src = pkgs.fetchFromGitHub { 29 19 owner = "PyCQA"; 30 20 repo = pname; 31 21 rev = version; 32 - sha256 = "07kb37zrrsriqzcmli0ghx7qb1iwkzh83qsiikl9jy50faby2sjg"; 22 + sha256 = "17f822cxrvcvnrzdx1a9fyi9afljq80b6g6z1k2bqa1vs21gwv7l"; 33 23 }; 34 24 35 - checkInputs = [ 36 - pytest 37 - ]; 38 - 39 - checkPhase = '' 40 - pytest 25 + postPatch = '' 26 + substituteInPlace pyproject.toml \ 27 + --replace 'pep8-naming = ">=0.3.3,<=0.10.0"' 'pep8-naming = "*"' 41 28 ''; 42 29 43 - patchPhase = '' 44 - substituteInPlace setup.py \ 45 - --replace 'pycodestyle<=2.4.0' 'pycodestyle<=2.5.0' 46 - ''; 30 + nativeBuildInputs = [ 31 + poetry-core 32 + ]; 47 33 48 34 propagatedBuildInputs = [ 49 - astroid 50 - django 35 + bandit 51 36 dodgy 52 37 mccabe 38 + mypy 53 39 pep8-naming 54 40 pycodestyle 55 41 pydocstyle ··· 58 44 pylint-celery 59 45 pylint-django 60 46 pylint-flask 47 + pylint-plugin-utils 48 + pyroma 61 49 pyyaml 62 50 requirements-detector 63 - setoptconf 51 + setoptconf-tmp 52 + setuptools 53 + toml 54 + vulture 55 + ]; 56 + 57 + checkInputs = [ 58 + pytestCheckHook 64 59 ]; 65 60 66 61 meta = with lib; {
+4 -4
pkgs/development/tools/prospector/setoptconf.nix
··· 4 4 }: 5 5 6 6 buildPythonPackage rec { 7 - pname = "setoptconf"; 8 - version = "0.2.0"; 7 + pname = "setoptconf-tmp"; 8 + version = "0.3.1"; 9 9 10 10 src = fetchPypi { 11 11 inherit pname version; 12 - sha256 = "177l7j68j751i781bgk6pfhxjj7hwqxzdm2ja5fkywbp0275s2sv"; 12 + sha256 = "0y2pgpraa36wzlzkxigvmz80mqd3mzcc9wv2yx9bliqks7fhlj70"; 13 13 }; 14 14 15 15 # Base tests provided via PyPi are broken 16 16 doCheck = false; 17 17 18 18 meta = with lib; { 19 - homepage = "https://pypi.org/project/setoptconf"; 19 + homepage = "https://pypi.org/project/setoptconf-tmp"; 20 20 description = "A module for retrieving program settings from various sources in a consistant method"; 21 21 license = licenses.mit; 22 22 maintainers = with maintainers; [
+1 -3
pkgs/top-level/all-packages.nix
··· 18591 18591 buildPythonApplication click future six; 18592 18592 }; 18593 18593 18594 - prospector = callPackage ../development/tools/prospector { 18595 - python = python37; 18596 - }; 18594 + prospector = callPackage ../development/tools/prospector { }; 18597 18595 18598 18596 protobuf = protobuf3_18; 18599 18597