Loading pkgs/development/python-modules/pythonfinder/default.nix +1 −20 Original line number Diff line number Diff line Loading @@ -3,9 +3,7 @@ , cached-property , click , fetchFromGitHub , fetchpatch , packaging , pydantic , pytest-timeout , pytestCheckHook , pythonOlder Loading @@ -21,20 +19,11 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "sarugaku"; repo = pname; repo = "pythonfinder"; rev = "refs/tags/${version}"; hash = "sha256-CbaKXD7Sde8euRqvc/IHoXoSMF+dNd7vT9LkLWq4/IU="; }; patches = [ # https://github.com/sarugaku/pythonfinder/issues/142 (fetchpatch { name = "pydantic_2-compatibility.patch"; url = "https://gitlab.archlinux.org/archlinux/packaging/packages/python-pythonfinder/-/raw/2.0.6-1/python-pythonfinder-2.0.6-pydantic2.patch"; hash = "sha256-mON1MeA+pj6VTB3zpBjF3LfB30wG0QH9nU4bD1djWwg="; }) ]; postPatch = '' substituteInPlace pyproject.toml \ --replace " --cov" "" Loading @@ -46,7 +35,6 @@ buildPythonPackage rec { propagatedBuildInputs = [ packaging pydantic ] ++ lib.optionals (pythonOlder "3.8") [ cached-property ]; Loading @@ -66,13 +54,6 @@ buildPythonPackage rec { "pythonfinder" ]; # these tests invoke git in a subprocess and # for some reason git can't be found even if included in nativeCheckInputs # disabledTests = [ # "test_shims_are_kept" # "test_shims_are_removed" # ]; meta = with lib; { description = "Cross platform search tool for finding Python"; mainProgram = "pyfinder"; Loading Loading
pkgs/development/python-modules/pythonfinder/default.nix +1 −20 Original line number Diff line number Diff line Loading @@ -3,9 +3,7 @@ , cached-property , click , fetchFromGitHub , fetchpatch , packaging , pydantic , pytest-timeout , pytestCheckHook , pythonOlder Loading @@ -21,20 +19,11 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "sarugaku"; repo = pname; repo = "pythonfinder"; rev = "refs/tags/${version}"; hash = "sha256-CbaKXD7Sde8euRqvc/IHoXoSMF+dNd7vT9LkLWq4/IU="; }; patches = [ # https://github.com/sarugaku/pythonfinder/issues/142 (fetchpatch { name = "pydantic_2-compatibility.patch"; url = "https://gitlab.archlinux.org/archlinux/packaging/packages/python-pythonfinder/-/raw/2.0.6-1/python-pythonfinder-2.0.6-pydantic2.patch"; hash = "sha256-mON1MeA+pj6VTB3zpBjF3LfB30wG0QH9nU4bD1djWwg="; }) ]; postPatch = '' substituteInPlace pyproject.toml \ --replace " --cov" "" Loading @@ -46,7 +35,6 @@ buildPythonPackage rec { propagatedBuildInputs = [ packaging pydantic ] ++ lib.optionals (pythonOlder "3.8") [ cached-property ]; Loading @@ -66,13 +54,6 @@ buildPythonPackage rec { "pythonfinder" ]; # these tests invoke git in a subprocess and # for some reason git can't be found even if included in nativeCheckInputs # disabledTests = [ # "test_shims_are_kept" # "test_shims_are_removed" # ]; meta = with lib; { description = "Cross platform search tool for finding Python"; mainProgram = "pyfinder"; Loading