at master 742 B view raw
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 setuptools, 6 unittestCheckHook, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "isoweek"; 12 version = "1.3.3"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-c/P3usRD4Fo6tFwypyBIsMTybVPYFGLsSxQsdYHT/+g="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 nativeCheckInputs = [ unittestCheckHook ]; 25 26 pythonImportsCheck = [ "isoweek" ]; 27 28 meta = with lib; { 29 description = "Module work with ISO weeks"; 30 homepage = "https://github.com/gisle/isoweek"; 31 changelog = "https://github.com/gisle/isoweek/releases/tag/v${version}"; 32 license = licenses.bsd2; 33 maintainers = with maintainers; [ mrmebelman ]; 34 }; 35}