1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, poetry-core
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "jsonref";
10 version = "1.0.1";
11 format = "pyproject";
12
13 src = fetchFromGitHub {
14 owner = "gazpachoking";
15 repo = "jsonref";
16 rev = "refs/tags/v${version}";
17 hash = "sha256-8p0BmDZGpQ6Dl9rkqRKZKc0doG5pyXpfcVpemmetLhs=";
18 };
19
20 nativeBuildInputs = [
21 poetry-core
22 ];
23
24 nativeCheckInputs = [
25 pytestCheckHook
26 ];
27
28 pytestFlagsArray = [
29 "tests.py"
30 ];
31
32 meta = with lib; {
33 description = "An implementation of JSON Reference for Python";
34 homepage = "https://github.com/gazpachoking/jsonref";
35 license = licenses.mit;
36 maintainers = with maintainers; [ ];
37 platforms = platforms.all;
38 };
39}