mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
Merge pull request #286388 from mweinelt/orjson-3.9.13
python311Packages.orjson: 3.9.10 -> 3.9.13
This commit is contained in:
commit
75cb025197
@ -1,11 +1,17 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, pythonOlder
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
|
||||
# build-system
|
||||
, rustPlatform
|
||||
, cffi
|
||||
|
||||
# native dependencies
|
||||
, libiconv
|
||||
|
||||
# tests
|
||||
, numpy
|
||||
, psutil
|
||||
, pytestCheckHook
|
||||
@ -17,22 +23,22 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "orjson";
|
||||
version = "3.9.10";
|
||||
format = "pyproject";
|
||||
version = "3.9.13";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ijl";
|
||||
repo = pname;
|
||||
repo = "orjson";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-MkcuayNDt7/GcswXoFTvzuaZzhQEQV+V7OfKqgJwVIQ=";
|
||||
hash = "sha256-p6nkzEHFTKCBr7Wte2wvzh1TlzwweADZON8gm2pT224=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256-2eRV+oZQvsWWJ4AUTeuE0CHtTHC6jNZiX/y5uXuwvns=";
|
||||
hash = "sha256-2c8XgQILhAvR8HUqoEIOfYeiV1lR9UyIJXWDuNeVZsE=";
|
||||
};
|
||||
|
||||
maturinBuildFlags = [ "--interpreter ${python.executable}" ];
|
||||
|
Loading…
Reference in New Issue
Block a user