python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / backports-datetime-fromisoformat / default.nix
blob103ee2561aaaefbf534ab84c90435c610a53ee15
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
6   # build-system
7   setuptools,
9   # tests
10   pytz,
11   pytestCheckHook,
14 buildPythonPackage rec {
15   pname = "backports-datetime-fromisoformat";
16   version = "2.0.2";
17   pyproject = true;
19   src = fetchFromGitHub {
20     owner = "movermeyer";
21     repo = "backports.datetime_fromisoformat";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-v9Njic7zN2bv1lQgdbJNeZLF3VXcC9A4UoE/znLF0gM=";
24   };
26   nativeBuildInputs = [ setuptools ];
28   nativeCheckInputs = [
29     pytz
30     pytestCheckHook
31   ];
33   disabledTestPaths = [
34     # ModuleNotFoundError: No module named 'developmental_release'
35     "release/test_developmental_release.py"
36   ];
38   pythonImportsCheck = [ "backports.datetime_fromisoformat" ];
40   meta = with lib; {
41     changelog = "https://github.com/movermeyer/backports.datetime_fromisoformat/releases/tag/v${version}";
42     description = "Backport of Python 3.11's datetime.fromisoformat";
43     homepage = "https://github.com/movermeyer/backports.datetime_fromisoformat";
44     license = licenses.mit;
45     maintainers = [ ];
46   };