summary refs log tree commit diff
path: root/pkgs/development/python-modules/jsonref/default.nix
blob: 12de6527c866a468c3ec9b0bc98a940b62adc28e (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "jsonref";
  version = "1.0.1";
  format = "pyproject";

  src = fetchFromGitHub {
    owner = "gazpachoking";
    repo = "jsonref";
    rev = "refs/tags/v${version}";
    hash = "sha256-8p0BmDZGpQ6Dl9rkqRKZKc0doG5pyXpfcVpemmetLhs=";
  };

  nativeBuildInputs = [
    poetry-core
  ];

  checkInputs = [
    pytestCheckHook
  ];

  pytestFlagsArray = [
    "tests.py"
  ];

  meta = with lib; {
    description = "An implementation of JSON Reference for Python";
    homepage    = "https://github.com/gazpachoking/jsonref";
    license     = licenses.mit;
    maintainers = with maintainers; [ ];
    platforms   = platforms.all;
  };
}