at master 813 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchFromGitHub, 6 pytz, 7 zope-interface, 8}: 9 10buildPythonPackage rec { 11 pname = "datetime"; 12 version = "5.5"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "zopefoundation"; 19 repo = "datetime"; 20 tag = version; 21 hash = "sha256-VgIEpa3WpxfIUpBjXMor/xEEu+sp7z/EsLYEvU0RzWk="; 22 }; 23 24 propagatedBuildInputs = [ 25 pytz 26 zope-interface 27 ]; 28 29 pythonImportsCheck = [ "DateTime" ]; 30 31 meta = with lib; { 32 description = "DateTime data type, as known from Zope"; 33 homepage = "https://github.com/zopefoundation/DateTime"; 34 changelog = "https://github.com/zopefoundation/DateTime/blob/${version}/CHANGES.rst"; 35 license = licenses.zpl21; 36 maintainers = with maintainers; [ icyrockcom ]; 37 }; 38}