Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 30 lines 607 B view raw
1{ buildPythonPackage 2, fetchFromGitHub 3, hypothesis 4, lib 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "json5"; 10 version = "0.9.5"; 11 12 src = fetchFromGitHub { 13 owner = "dpranke"; 14 repo = "pyjson5"; 15 rev = "v${version}"; 16 sha256 = "sha256-VkJnZG1BuC49/jJuwObbqAF48CtbWU9rDEYW4Dg0w4U="; 17 }; 18 19 checkInputs = [ 20 hypothesis 21 pytestCheckHook 22 ]; 23 24 meta = with lib; { 25 homepage = "https://github.com/dpranke/pyjson5"; 26 description = "A Python implementation of the JSON5 data format"; 27 license = licenses.asl20; 28 maintainers = with maintainers; [ veehaitch ]; 29 }; 30}