blob: 422aa5dacf2dc2650267df3d31b5be6790df170a (
about) (
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.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 ];
};
}
|