python312Packages.pymarshal: modernize

This commit is contained in:
Peder Bergebakken Sundt 2024-08-24 18:50:23 +02:00
parent d8d377ecbb
commit 276d83321a

View File

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "pymarshal";
version = "2.2.0";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "stargateaudio";
@ -23,12 +23,12 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.py \
--replace "'pytest-runner'" ""
--replace-fail "'pytest-runner'" ""
'';
nativeBuildInputs = [ setuptools ];
build-system = [ setuptools ];
propagatedBuildInputs = [ bson ];
dependencies = [ bson ];
nativeCheckInputs = [
pytestCheckHook