My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/ujson/default.nix

36 lines
701 B

{ lib
, buildPythonPackage
, fetchPypi
, isPyPy
, pytestCheckHook
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "ujson";
version = "5.1.0";
disabled = isPyPy || pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "a88944d2f99db71a3ca0c63d81f37e55b660edde0b07216fb65a3e46403ef004";
};
nativeBuildInputs = [
setuptools-scm
];
checkInputs = [
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 ];
};
}