python310Packages.sexpdata: use pyproject format

This commit is contained in:
Mario Rodas
2023-06-17 01:06:00 +00:00
parent 74eaa93271
commit 2af7b26685
@@ -1,19 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "sexpdata";
version = "1.0.1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-b2XxFSkYkMvOXNJpwTvfH4KkzSO8YbbhUKJ1Ee5qfV4=";
};
nativeBuildInputs = [
setuptools
];
doCheck = false;
pythonImportsCheck = [
"sexpdata"
];
meta = with lib; {
description = "S-expression parser for Python";
homepage = "https://github.com/tkf/sexpdata";