1{ lib 2, buildPythonPackage 3, fetchPypi 4, six 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "jdatetime"; 10 version = "4.1.0"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "sha256-SmeoLuV+NbX2+ff75qDtpj9Wzh3Yr0CbTComozQEV9s="; 18 }; 19 20 propagatedBuildInputs = [ 21 six 22 ]; 23 24 pythonImportsCheck = [ 25 "jdatetime" 26 ]; 27 28 meta = with lib; { 29 description = "Jalali datetime binding"; 30 homepage = "https://github.com/slashmili/python-jalali"; 31 license = licenses.psfl; 32 maintainers = with maintainers; [ ]; 33 }; 34}