python312Packages.condense-json: init at 0.1.2 (#397420)
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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; };
|
||||
|
||||
Reference in New Issue
Block a user