0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

python310Packages.msgspec: init at 0.9.0

This commit is contained in:
Fabian Affolter 2022-09-24 23:22:47 +02:00
parent e18192eac2
commit 4580bd4cc8
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, msgpack
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "msgspec";
version = "0.9.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "jcrist";
repo = pname;
rev = version;
hash = "sha256-8guKmEnDAOVzBuSvqy5V+dWY1f8FPbysMZTe9FVJPxQ=";
};
# Requires libasan to be accessible
doCheck = false;
pythonImportsCheck = [
"msgspec"
];
meta = with lib; {
description = "Module to handle JSON/MessagePack";
homepage = "https://github.com/jcrist/msgspec";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -5873,6 +5873,8 @@ in {
msgpack-numpy = callPackage ../development/python-modules/msgpack-numpy { };
msgspec = callPackage ../development/python-modules/msgspec { };
msldap = callPackage ../development/python-modules/msldap { };
msoffcrypto-tool = callPackage ../development/python-modules/msoffcrypto-tool { };