Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
673 B · 31 lines
Nix
1234567891011121314151617181920212223242526272829303132{ buildPythonPackage, fetchFromGitHub, lib, pytestCheckHook,}:
buildPythonPackage rec { pname = "json5"; version = "0.9.14"; format = "setuptools";
src = fetchFromGitHub { owner = "dpranke"; repo = "pyjson5"; rev = "v${version}"; hash = "sha256-cshP1kraLENqWuQTlm4HPAP/0ywRRLFOJI8mteWcjR4="; };
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "json5" ];
meta = with lib; { homepage = "https://github.com/dpranke/pyjson5"; description = "Python implementation of the JSON5 data format"; mainProgram = "pyjson5"; license = licenses.asl20; maintainers = with maintainers; [ veehaitch ]; };}