depot/third_party/nixpkgs/pkgs/development/python-modules/json5/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

31 lines
673 B
Nix

{
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 ];
};
}