python311Packages.yasi: use buildPythonPackage, refactor

This commit is contained in:
Sandro Jäckel 2024-01-03 00:06:37 +01:00
parent f6a028db30
commit d7a4d45ece
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,14 +1,15 @@
{ lib
, buildPythonApplication
, buildPythonPackage
, colorama
, fetchFromGitHub
, pytestCheckHook
, setuptools
}:
buildPythonApplication rec {
buildPythonPackage rec {
pname = "yasi";
version = "2.1.2";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "nkmathew";
@ -17,11 +18,15 @@ buildPythonApplication rec {
hash = "sha256-xKhVTmh/vrtBkatxtk8R4yqbGroH0I+xTKNYUpuikt4=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
colorama
];
nativeBuildInputs = [
nativeCheckInputs = [
pytestCheckHook
];