at 24.11-pre 817 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 param, 6 pytestCheckHook, 7 pythonAtLeast, 8 pyyaml, 9 requests, 10}: 11 12buildPythonPackage rec { 13 pname = "pyct"; 14 version = "0.5.0"; 15 format = "setuptools"; 16 17 disabled = pythonAtLeast "3.12"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-3Z9KxcvY43w1LAQDYGLTxfZ+/sdtQEdh7xawy/JqpqA="; 22 }; 23 24 propagatedBuildInputs = [ 25 param 26 pyyaml 27 requests 28 ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 pythonImportsCheck = [ "pyct" ]; 33 34 meta = with lib; { 35 description = "ClI for Python common tasks for users"; 36 mainProgram = "pyct"; 37 homepage = "https://github.com/pyviz/pyct"; 38 changelog = "https://github.com/pyviz-dev/pyct/releases/tag/v${version}"; 39 license = licenses.bsd3; 40 maintainers = with maintainers; [ ]; 41 }; 42}