lol

python312Packages.requirements-detector: 1.2.2 -> 1.3.2

Changelog: https://github.com/landscapeio/requirements-detector/releases/tag/1.3.2

+13 -7
+13 -7
pkgs/development/python-modules/requirements-detector/default.nix
··· 3 3 astroid, 4 4 buildPythonPackage, 5 5 fetchFromGitHub, 6 + fetchpatch, 6 7 packaging, 7 8 poetry-core, 8 9 semver, 9 10 pytestCheckHook, 10 11 pythonOlder, 11 - toml, 12 12 }: 13 13 14 14 buildPythonPackage rec { 15 15 pname = "requirements-detector"; 16 - version = "1.2.2"; 16 + version = "1.3.2"; 17 17 pyproject = true; 18 18 19 - disabled = pythonOlder "3.7"; 19 + disabled = pythonOlder "3.12"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "landscapeio"; 23 23 repo = "requirements-detector"; 24 24 tag = version; 25 - hash = "sha256-qmrHFQRypBJOI1N6W/Dtc5ss9JGqoPhFlbqrLHcb6vc="; 25 + hash = "sha256-IWVIYDE/5/9sFgOFftRE4nmY0IDJ0oOvvaGMODkozQg="; 26 26 }; 27 27 28 + patches = [ 29 + # Remove duplicate import, https://github.com/prospector-dev/requirements-detector/pull/53 30 + (fetchpatch { 31 + name = "remove-import.patch"; 32 + url = "https://github.com/prospector-dev/requirements-detector/commit/be412669f53a78b3376cac712c84f158fbb1374a.patch"; 33 + hash = "sha256-IskSs3BZ1pTeqjtCUksC8wL+3fOYqAi7nw/QD0zsie4="; 34 + }) 35 + ]; 36 + 28 37 build-system = [ poetry-core ]; 29 38 30 39 dependencies = [ 31 40 astroid 32 41 packaging 33 - toml 34 42 semver 35 43 ]; 36 44 ··· 45 53 license = licenses.mit; 46 54 maintainers = with maintainers; [ kamadorueda ]; 47 55 mainProgram = "detect-requirements"; 48 - # https://github.com/landscapeio/requirements-detector/issues/48 49 - broken = versionAtLeast astroid.version "3"; 50 56 }; 51 57 }