1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "jalali-core"; 11 version = "1.0.0"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.8"; 15 16 src = fetchPypi { 17 pname = "jalali_core"; 18 inherit version; 19 hash = "sha256-9Ch8cMYwMj3PCjqybfkFuk1FHiMKwfZbO7L3d5eJSis="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 # Module has no tests 25 doCheck = false; 26 27 pythonImportsCheck = [ "jalali_core" ]; 28 29 meta = { 30 description = "Module to convert Gregorian to Jalali and inverse dates"; 31 homepage = "https://pypi.org/project/jalali-core/"; 32 license = lib.licenses.lgpl2Only; 33 maintainers = with lib.maintainers; [ fab ]; 34 }; 35}