From 0ece8a56bddd89d1d4474b73d4f2a41b6cdfcfaa Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Wed, 24 Mar 2021 16:01:22 +0100 Subject: [PATCH] python3Packages.flit-core: 2.3.0 -> 3.2.0 --- pkgs/development/python-modules/flit-core/default.nix | 10 ++++++++-- pkgs/top-level/python2-packages.nix | 2 ++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/flit-core/default.nix b/pkgs/development/python-modules/flit-core/default.nix index 53a1e0651f36..a4c6b99b07f4 100644 --- a/pkgs/development/python-modules/flit-core/default.nix +++ b/pkgs/development/python-modules/flit-core/default.nix @@ -3,12 +3,13 @@ , flit , isPy3k , toml +, pytestCheckHook +, testpath }: buildPythonPackage rec { pname = "flit-core"; - version = "2.3.0"; - disabled = !isPy3k; + version = "3.2.0"; format = "pyproject"; inherit (flit) src patches; @@ -21,6 +22,11 @@ buildPythonPackage rec { toml ]; + checkInputs = [ + pytestCheckHook + testpath + ]; + passthru.tests = { inherit flit; }; diff --git a/pkgs/top-level/python2-packages.nix b/pkgs/top-level/python2-packages.nix index 262c363e30df..0d1673123af7 100644 --- a/pkgs/top-level/python2-packages.nix +++ b/pkgs/top-level/python2-packages.nix @@ -32,6 +32,8 @@ with self; with super; { feedparser = callPackage ../development/python-modules/feedparser/5.nix { }; + flit-core = disabled super.flit-core; + fontforge = disabled super.fontforge; gaia = disabledIf (isPyPy || isPy3k) (toPythonModule (pkgs.gaia.override {