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