python312Packages.transitions: refactor

This commit is contained in:
Fabian Affolter 2024-04-26 14:45:26 +02:00
parent ae759539c1
commit f3903312b0
1 changed files with 14 additions and 8 deletions

View File

@ -2,27 +2,32 @@
, stdenv
, buildPythonPackage
, fetchPypi
, pythonAtLeast
, six
, fontconfig
, graphviz
, mock
, pycodestyle
, pygraphviz
, pytestCheckHook
, mock
, graphviz
, pycodestyle
, fontconfig
, pythonAtLeast
, setuptools
, six
}:
buildPythonPackage rec {
pname = "transitions";
version = "0.9.0";
format = "setuptools";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-L1TRG9siV3nX5ykBHpOp+3F2aM49xl+NT1pde6L0jhA=";
};
propagatedBuildInputs = [
build-system = [
setuptools
];
dependencies = [
six
pygraphviz # optional
];
@ -54,6 +59,7 @@ buildPythonPackage rec {
meta = with lib; {
homepage = "https://github.com/pytransitions/transitions";
description = "A lightweight, object-oriented finite state machine implementation in Python";
changelog = "https://github.com/pytransitions/transitions/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};