nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 773 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 python-dateutil, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "aniso8601"; 12 version = "10.0.1"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-JUiPhmPdFSiuH1T5SsHqUa4ltNUxU5uLxwf+0YTRaEU="; 18 }; 19 20 build-system = [ setuptools ]; 21 22 dependencies = [ python-dateutil ]; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 pythonImportsCheck = [ "aniso8601" ]; 27 28 meta = { 29 description = "Python Parser for ISO 8601 strings"; 30 homepage = "https://bitbucket.org/nielsenb/aniso8601"; 31 changelog = "https://bitbucket.org/nielsenb/aniso8601/src/v${version}/CHANGELOG.rst"; 32 license = lib.licenses.bsd3; 33 maintainers = with lib.maintainers; [ fab ]; 34 }; 35}