Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
847 B · 40 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pytestCheckHook, pytz,}:
buildPythonPackage rec { pname = "ciso8601"; version = "2.3.2"; pyproject = true;
src = fetchFromGitHub { owner = "closeio"; repo = "ciso8601"; tag = "v${version}"; hash = "sha256-oVnQ0vHhWs8spfOnJOgTJ6MAHcY8VGZHZ0E/T8JsKqE="; };
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook pytz ];
enabledTestPaths = [ "tests/tests.py" ];
pythonImportsCheck = [ "ciso8601" ];
meta = with lib; { description = "Fast ISO8601 date time parser for Python written in C"; homepage = "https://github.com/closeio/ciso8601"; changelog = "https://github.com/closeio/ciso8601/blob/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ mic92 ]; };}