depot/third_party/nixpkgs/pkgs/development/python-modules/json5/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

31 lines
675 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 = "A Python implementation of the JSON5 data format";
mainProgram = "pyjson5";
license = licenses.asl20;
maintainers = with maintainers; [ veehaitch ];
};
}