depot/third_party/nixpkgs/pkgs/development/python-modules/json5/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

34 lines
654 B
Nix

{ buildPythonPackage
, fetchFromGitHub
, hypothesis
, lib
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "json5";
version = "0.9.9";
src = fetchFromGitHub {
owner = "dpranke";
repo = "pyjson5";
rev = "v${version}";
hash = "sha256-0ommoTv5q7YuLNF+ZPWW/Xg/8CwnPrF7rXJ+eS0joUs=";
};
nativeCheckInputs = [
hypothesis
pytestCheckHook
];
pythonImportsCheck = [
"json5"
];
meta = with lib; {
homepage = "https://github.com/dpranke/pyjson5";
description = "A Python implementation of the JSON5 data format";
license = licenses.asl20;
maintainers = with maintainers; [ veehaitch ];
};
}