depot/third_party/nixpkgs/pkgs/development/python-modules/json5/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

30 lines
607 B
Nix

{ buildPythonPackage
, fetchFromGitHub
, hypothesis
, lib
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "json5";
version = "0.9.5";
src = fetchFromGitHub {
owner = "dpranke";
repo = "pyjson5";
rev = "v${version}";
sha256 = "sha256-VkJnZG1BuC49/jJuwObbqAF48CtbWU9rDEYW4Dg0w4U=";
};
checkInputs = [
hypothesis
pytestCheckHook
];
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 ];
};
}