forked from mirrors/nixpkgs
27 lines
522 B
Nix
27 lines
522 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPyPy
|
|
, setuptools_scm
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ujson";
|
|
version = "3.0.0";
|
|
disabled = isPyPy;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "e0199849d61cc6418f94d52a314c6a27524d65e82174d2a043fb718f73d1520d";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://pypi.python.org/pypi/ujson";
|
|
description = "Ultra fast JSON encoder and decoder for Python";
|
|
license = licenses.bsd3;
|
|
};
|
|
|
|
}
|