Something went wrong. Try again.
lol
Something went wrong. Try again.
792 B · 35 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, setuptools,}:
buildPythonPackage rec { pname = "json5"; version = "0.13.0"; pyproject = true;
src = fetchFromGitHub { owner = "dpranke"; repo = "pyjson5"; tag = "v${version}"; hash = "sha256-KL5YsWSHS8xI+lQB+ZtdEKUHGKICOduZsBd51z4jItw="; };
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "json5" ];
meta = { description = "Python implementation of the JSON5 data format"; homepage = "https://github.com/dpranke/pyjson5"; changelog = "https://github.com/dpranke/pyjson5/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ veehaitch ]; mainProgram = "pyjson5"; };}