Unverified Commit 591e7cca authored by natsukium's avatar natsukium
Browse files

python312Packages.tcolorpy: refactor

parent f63ce293
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -3,12 +3,14 @@
  fetchFromGitHub,
  lib,
  pytestCheckHook,
  setuptools,
  setuptools-scm,
}:

buildPythonPackage rec {
  pname = "tcolorpy";
  version = "0.1.6";
  format = "setuptools";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "thombashi";
@@ -17,6 +19,13 @@ buildPythonPackage rec {
    hash = "sha256-esucU+So1YKzkuMt6ICCrQ5SzQVv24lh12SE1Jl5Y/w=";
  };

  build-system = [
    setuptools
    setuptools-scm
  ];

  pythonImportsCheck = [ "tcolorpy" ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = with lib; {