Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
781 B · 39 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pytestCheckHook, pytz,}:
buildPythonPackage rec { pname = "ciso8601"; version = "2.3.1"; format = "pyproject";
src = fetchFromGitHub { owner = "closeio"; repo = "ciso8601"; rev = "refs/tags/v${version}"; hash = "sha256-KkMa1Rr3Z+5VnZfj25LDYpTfRyKqWA9u0vq6dZpwEy0="; };
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook pytz ];
pytestFlagsArray = [ "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"; license = licenses.mit; maintainers = with maintainers; [ mic92 ]; };}