at 22.05-pre 644 B view raw
1{ buildPythonPackage 2, fetchFromGitHub 3, hypothesis 4, lib 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "json5"; 10 version = "0.9.6"; 11 12 src = fetchFromGitHub { 13 owner = "dpranke"; 14 repo = "pyjson5"; 15 rev = "v${version}"; 16 sha256 = "sha256-RJj5KvLKq43tRuTwxq/mB+sU35xTQwZqg/jpdYcMP6A="; 17 }; 18 19 checkInputs = [ 20 hypothesis 21 pytestCheckHook 22 ]; 23 24 pythonImportsCheck = [ "json5" ]; 25 26 meta = with lib; { 27 homepage = "https://github.com/dpranke/pyjson5"; 28 description = "A Python implementation of the JSON5 data format"; 29 license = licenses.asl20; 30 maintainers = with maintainers; [ veehaitch ]; 31 }; 32}