75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
27 lines
534 B
Nix
27 lines
534 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy3k
|
|
, isPyPy
|
|
, setuptools_scm
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ujson";
|
|
version = "4.0.2";
|
|
disabled = isPyPy || (!isPy3k);
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "c615a9e9e378a7383b756b7e7a73c38b22aeb8967a8bfbffd4741f7ffd043c4d";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://pypi.python.org/pypi/ujson";
|
|
description = "Ultra fast JSON encoder and decoder for Python";
|
|
license = licenses.bsd3;
|
|
};
|
|
|
|
}
|