summary refs log tree commit diff
path: root/pkgs/development/python-modules/ujson/2.nix
blob: f31b26a1960ab9edd07014de373a3a8f9e50ea0d (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
{ lib, stdenv
, buildPythonPackage
, fetchPypi
, setuptools_scm
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "ujson";
  version = "2.0.3";

  src = fetchPypi {
    inherit pname version;
    sha256 = "18z9gb9ggy1r464b9q1gqs078mqgrkj6dys5a47529rqk3yfybdx";
  };

  nativeBuildInputs = [ setuptools_scm ];

  checkInputs = [
    pytestCheckHook
  ];

  meta = with lib; {
    homepage = "https://pypi.python.org/pypi/ujson";
    description = "Ultra fast JSON encoder and decoder for Python";
    license = licenses.bsd3;
  };
}