python311Packages.msgspec: refactor

This commit is contained in:
Fabian Affolter 2024-01-23 18:52:05 +01:00
parent a9680e363f
commit add87301bb

View File

@ -4,22 +4,27 @@
, msgpack
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "msgspec";
version = "0.18.6";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "jcrist";
repo = pname;
repo = "msgspec";
rev = "refs/tags/${version}";
hash = "sha256-xqtV60saQNINPMpOnZRSDnicedPSPBUQwPSE5zJGrTo=";
};
nativeBuildInputs = [
setuptools
];
# Requires libasan to be accessible
doCheck = false;