python310Packages.yasi: don't mix python versions
This commit is contained in:
parent
383737d545
commit
4fc3e2c4aa
2 changed files with 10 additions and 4 deletions
|
@ -1,9 +1,11 @@
|
|||
{ 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"
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue