Commit 8db7fcd1 authored by Joshua Peek's avatar Joshua Peek
Browse files

python312Packages.condense-json: init at 0.1.2

parent bc0b105e
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  pytestCheckHook,
}:
buildPythonPackage rec {
  pname = "condense-json";
  version = "0.1.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "simonw";
    repo = "condense-json";
    tag = version;
    hash = "sha256-eZ8d8N7k8VL7dFkORHmp7JmHM1/11Km8BCriWw/LiwE=";
  };

  build-system = [
    setuptools
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [ "condense_json" ];

  meta = {
    description = "Python function for condensing JSON using replacement strings";
    homepage = "https://github.com/simonw/condense-json";
    changelog = "https://github.com/simonw/condense-json/releases/tag/${src.tag}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ josh ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -2737,6 +2737,8 @@ self: super: with self; {
  conda-package-streaming = callPackage ../development/python-modules/conda-package-streaming { };
  condense-json = callPackage ../development/python-modules/condense-json { };
  conduit = callPackage ../development/python-modules/conduit { };
  conduit-mpi = callPackage ../development/python-modules/conduit { mpiSupport = true; };