blob: 3c81a79b3cf549576cdd6296954216bd07e4487b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "condense-json";
version = "0.1.3";
pyproject = true;
src = fetchFromGitHub {
owner = "simonw";
repo = "condense-json";
tag = version;
hash = "sha256-vMh6GLWqae0Ave3FmrGQuVCgFzYMGCIe76mGNDMrBdU=";
};
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 ];
};
}
|