Fabian Affolter cd84730ae6 python313Packages.aniso8601: refactor
- add changelog to meta
- update disabled
2025-01-10 08:58:34 +01:00

39 lines
824 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
python-dateutil,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "aniso8601";
version = "10.0.0";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchPypi {
inherit pname version;
hash = "sha256-/x0PwjRmiMYsAVFUcTasMOMiiW7YrzFu92AsR9qUJs8=";
};
build-system = [ setuptools ];
dependencies = [ python-dateutil ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "aniso8601" ];
meta = with lib; {
description = "Python Parser for ISO 8601 strings";
homepage = "https://bitbucket.org/nielsenb/aniso8601";
changelog = "https://bitbucket.org/nielsenb/aniso8601/src/v${version}/CHANGELOG.rst";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};
}