nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 32 lines 715 B view raw
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 pytestCheckHook, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "cexprtk"; 11 version = "0.4.2"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-sBLkHco0u2iEsdUxmPW2ONP/Fe08p0fOVJLmzz3t4os="; 17 }; 18 19 build-system = [ setuptools ]; 20 21 nativeCheckInputs = [ pytestCheckHook ]; 22 23 pythonImportsCheck = [ "cexprtk" ]; 24 25 meta = { 26 description = "Mathematical expression parser, cython wrapper"; 27 homepage = "https://github.com/mjdrushton/cexprtk"; 28 changelog = "https://github.com/mjdrushton/cexprtk/blob/${version}/CHANGES.md"; 29 license = lib.licenses.cpl10; 30 maintainers = with lib.maintainers; [ onny ]; 31 }; 32}