Merge pull request #192826 from fabaff/msgspec

python310Packages.msgspec: init at 0.9.0
This commit is contained in:
Fabian Affolter 2022-09-25 08:45:27 +02:00 committed by GitHub
commit 33163f189d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 { };