Merge pull request #192826 from fabaff/msgspec
python310Packages.msgspec: init at 0.9.0
This commit is contained in:
commit
33163f189d
36
pkgs/development/python-modules/msgspec/default.nix
Normal file
36
pkgs/development/python-modules/msgspec/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue