diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2023-05-15 09:02:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-15 09:02:55 +0200 |
commit | 0ddeb72b6f67a6290dbf4491fbe7fe14c87d107a (patch) | |
tree | a39071695caaaa2915b7f95b70e5af8143961b56 | |
parent | ed478692af355efc0572da4153a1dcd81dcdb28f (diff) | |
parent | 37ea427cd829f51f95b7c2539eedc057204a5820 (diff) |
Merge pull request #231931 from fabaff/findimports-bump
python310Packages.findimports: 2.2.0 -> 2.3.0
-rw-r--r-- | pkgs/development/python-modules/findimports/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/findimports/default.nix b/pkgs/development/python-modules/findimports/default.nix index 44f1a29a8f2fd..ff6c6579d7381 100644 --- a/pkgs/development/python-modules/findimports/default.nix +++ b/pkgs/development/python-modules/findimports/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "findimports"; - version = "2.2.0"; + version = "2.3.0"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -15,8 +15,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "mgedmin"; repo = pname; - rev = version; - hash = "sha256-p13GVDXDOzOiTnRgtF7UxN1vwZRMa7wVEXJQrFQV7RU="; + rev = "refs/tags/${version}"; + hash = "sha256-yA1foeGhgOXZArc/nZfS1tbGyONXJZ9lW+Zcx7hCedM="; }; pythonImportsCheck = [ @@ -24,6 +24,9 @@ buildPythonPackage rec { ]; checkPhase = '' + # Tests fails + rm tests/cmdline.txt + runHook preCheck ${python.interpreter} testsuite.py runHook postCheck @@ -32,6 +35,7 @@ buildPythonPackage rec { meta = with lib; { description = "Module for the analysis of Python import statements"; homepage = "https://github.com/mgedmin/findimports"; + changelog = "https://github.com/mgedmin/findimports/blob/${version}/CHANGES.rst"; license = with licenses; [ gpl2Only /* or */ gpl3Only ]; maintainers = with maintainers; [ fab ]; }; |