blob: 36bf5db527c360ca7cf380bd308aa1f99fdc1038 (
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
38
39
40
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pdm-backend,
pdm-pep517,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "jsonref";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "gazpachoking";
repo = "jsonref";
tag = "v${version}";
hash = "sha256-tOhabmqCkktJUZjCrzjOjUGgA/X6EVz0KqehyLtigfc=";
};
nativeBuildInputs = [
pdm-backend
pdm-pep517
];
nativeCheckInputs = [ pytestCheckHook ];
enabledTestPaths = [ "tests.py" ];
pythonImportsCheck = [ "jsonref" ];
meta = {
description = "Implementation of JSON Reference for Python";
homepage = "https://github.com/gazpachoking/jsonref";
changelog = "https://github.com/gazpachoking/jsonref/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|