Unverified Commit 842e6405 authored by Florian's avatar Florian Committed by GitHub
Browse files

Merge pull request #335174 from jopejoe1/jsonslicer-clean

python3Packages.jsonslicer: add tests and changelogs
parents 43aaea36 36b15460
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -3,6 +3,8 @@
  buildPythonPackage,
  fetchFromGitHub,
  gitUpdater,
  pytestCheckHook,
  unittestCheckHook,
  setuptools,
  pkg-config,
  yajl,
@@ -16,7 +18,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "AMDmi3";
    repo = "jsonslicer";
    rev = version;
    rev = "refs/tags/${version}";
    hash = "sha256-nPifyqr+MaFqoCYFbFSSBDjvifpX0CFnHCdMCvhwYTA=";
  };

@@ -27,11 +29,19 @@ buildPythonPackage rec {

  buildInputs = [ yajl ];

  nativeCheckInputs = [
    pytestCheckHook
    unittestCheckHook
  ];

  pythonImportsCheck = [ "jsonslicer" ];

  passthru.updateScript = gitUpdater { };

  meta = with lib; {
    description = "Stream JSON parser for Python";
    homepage = "https://github.com/AMDmi3/jsonslicer";
    changelog = "https://github.com/AMDmi3/jsonslicer/blob/${version}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ jopejoe1 ];
  };