at 25.11-pre 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 attrs, 6 pytest-benchmark, 7 pytestCheckHook, 8 setuptools-scm, 9 six, 10}: 11 12let 13 automat = buildPythonPackage rec { 14 version = "24.8.1"; 15 format = "pyproject"; 16 pname = "automat"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-s0Inz2P2MluK0jme3ngGdQg+Q5sgwyPTdjc9juYwbYg="; 21 }; 22 23 nativeBuildInputs = [ setuptools-scm ]; 24 25 propagatedBuildInputs = [ 26 six 27 attrs 28 ]; 29 30 nativeCheckInputs = [ 31 pytest-benchmark 32 pytestCheckHook 33 ]; 34 35 # escape infinite recursion with twisted 36 doCheck = false; 37 38 passthru.tests = { 39 check = automat.overridePythonAttrs (_: { 40 doCheck = true; 41 }); 42 }; 43 44 meta = with lib; { 45 homepage = "https://github.com/glyph/Automat"; 46 description = "Self-service finite-state machines for the programmer on the go"; 47 mainProgram = "automat-visualize"; 48 license = licenses.mit; 49 maintainers = [ ]; 50 }; 51 }; 52in 53automat