aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/ujson/2.nix
blob: e1d1185f6f5e8904ca04febb5da78bbe0ea49c7a (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
{ 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 stdenv.lib; {
    homepage = "https://pypi.python.org/pypi/ujson";
    description = "Ultra fast JSON encoder and decoder for Python";
    license = licenses.bsd3;
  };
}