504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
35 lines
680 B
Nix
35 lines
680 B
Nix
{ buildPythonPackage
|
|
, fetchFromGitHub
|
|
, hypothesis
|
|
, 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 = [
|
|
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 ];
|
|
};
|
|
}
|