1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "iso8601";
9 version = "0.1.16";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "sha256-NlMvd8yABZTo8WZB7a5/G695MvBdjlCFRblfxTxtyFs=";
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}