Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
826 B · 39 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, pytz, zope-interface}:
buildPythonPackage rec { pname = "datetime"; version = "5.4"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "zopefoundation"; repo = "datetime"; rev = "refs/tags/${version}"; hash = "sha256-k4q9n3uikz+B9CUyqQTgl61OTKDWMsyhAt2gB1HWGRw="; };
propagatedBuildInputs = [ pytz zope-interface ];
pythonImportsCheck = [ "DateTime" ];
meta = with lib; { description = "DateTime data type, as known from Zope"; homepage = "https://github.com/zopefoundation/DateTime"; changelog = "https://github.com/zopefoundation/DateTime/blob/${version}/CHANGES.rst"; license = licenses.zpl21; maintainers = with maintainers; [ icyrockcom ]; };}