Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at master 645 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 setuptools-scm, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "isodate"; 12 version = "0.7.2"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-TNGqD0PKdvSmxsApKoX0CzXsLkPjFbWfBubTIXGpU+Y="; 18 }; 19 20 build-system = [ 21 setuptools 22 setuptools-scm 23 ]; 24 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 meta = with lib; { 28 changelog = "https://github.com/gweis/isodate/blob/${version}/CHANGES.txt"; 29 description = "ISO 8601 date/time parser"; 30 homepage = "https://github.com/gweis/isodate/"; 31 license = licenses.bsd0; 32 }; 33}