Unverified Commit 1c4476cd authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

python312Packages.yaspin: fix build, set pyproject = true (#353838)

parents e785860c 0004c3c8
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -12,20 +12,24 @@
buildPythonPackage rec {
  pname = "yaspin";
  version = "3.1.0";
  format = "pyproject";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "pavdmyt";
    repo = pname;
    repo = "yaspin";
    rev = "refs/tags/v${version}";
    hash = "sha256-4IWaAPqzGri7V8X2gL607F5GlWfIFDlBBpDwSe4sz9I=";
  };

  nativeBuildInputs = [ poetry-core ];
  build-system = [ poetry-core ];

  propagatedBuildInputs = [ termcolor ];
  dependencies = [ termcolor ];

  pythonRelaxDeps = [
    "termcolor"
  ];

  nativeCheckInputs = [
    pytest-xdist