1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "dirtyjson"; 12 version = "1.0.8"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-kMpKGPP/MM6EnRANz0oAOVPHnTojSO8Fbx2cIiMaJf0="; 20 }; 21 22 nativeBuildInputs = [ setuptools ]; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 pythonImportsCheck = [ "dirtyjson" ]; 27 28 meta = with lib; { 29 description = "JSON decoder for Python that can extract data from the muck"; 30 homepage = "https://github.com/codecobblers/dirtyjson"; 31 license = with licenses; [ 32 afl21 # and 33 mit 34 ]; 35 maintainers = with maintainers; [ fab ]; 36 }; 37}