Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 30 lines 606 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 pname = "iso8601"; 9 version = "0.1.14"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "8aafd56fa0290496c5edbb13c311f78fa3a241f0853540da09d9363eae3ebd79"; 14 }; 15 16 checkInputs = [ 17 pytestCheckHook 18 ]; 19 20 pytestFlagsArray = [ "iso8601" ]; 21 22 pythonImportsCheck = [ "iso8601" ]; 23 24 meta = with lib; { 25 description = "Simple module to parse ISO 8601 dates"; 26 homepage = "https://pyiso8601.readthedocs.io/"; 27 license = with licenses; [ mit ]; 28 maintainers = with maintainers; [ fab ]; 29 }; 30}