Unverified Commit 4fc3e2c4 authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

python310Packages.yasi: don't mix python versions

parent 383737d5
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
{ lib
, python3
, buildPythonApplication
, colorama
, fetchFromGitHub
, pytestCheckHook
}:

python3.pkgs.buildPythonApplication rec {
buildPythonApplication rec {
  pname = "yasi";
  version = "2.1.2";
  format = "setuptools";
@@ -15,10 +17,14 @@ python3.pkgs.buildPythonApplication rec {
    hash = "sha256-xKhVTmh/vrtBkatxtk8R4yqbGroH0I+xTKNYUpuikt4=";
  };

  propagatedBuildInputs = with python3.pkgs; [
  propagatedBuildInputs = [
    colorama
  ];

  nativeBuildInputs = [
    pytestCheckHook
  ];

  postPatch = ''
    substituteInPlace setup.py \
      --replace "test.test_yasi" "tests.test_yasi"
+1 −1
Original line number Diff line number Diff line
@@ -12846,7 +12846,7 @@ self: super: with self; {

  yarl = callPackage ../development/python-modules/yarl { };

  yasi = toPythonModule (callPackage ../development/python-modules/yasi { });
  yasi = callPackage ../development/python-modules/yasi { };

  yaspin = callPackage ../development/python-modules/yaspin { };