python312Packages.condense-json: init at 0.1.2 (#397420)

This commit is contained in:
Aleksana
2025-04-13 20:05:57 +08:00
committed by GitHub
2 changed files with 39 additions and 0 deletions
@@ -0,0 +1,37 @@
{
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
View File
@@ -2739,6 +2739,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; };