depot/third_party/nixpkgs/pkgs/development/python-modules/ujson/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

35 lines
675 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "ujson";
version = "5.6.0";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-+IHi2KAi6Shaouq2uoZ0NY28srV/poYY2I1ik3rD/wQ=";
};
nativeBuildInputs = [
setuptools-scm
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "ujson" ];
meta = with lib; {
description = "Ultra fast JSON encoder and decoder";
homepage = "https://github.com/ultrajson/ultrajson";
license = licenses.bsd3;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}