python3Packages.shellescape: migrate to pyproject (#537708)

This commit is contained in:
Sandro
2026-07-02 11:31:51 +00:00
committed by GitHub
@@ -2,21 +2,26 @@
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "shellescape";
version = "3.8.1";
format = "setuptools";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "chrissimpkins";
repo = "shellescape";
rev = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-HAe3Qf3lLeVWw/tVkW0J+CfoxSoOnCcWDR2nEWZn7HM=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "shellescape" ];
@@ -29,4 +34,4 @@ buildPythonPackage rec {
];
maintainers = with lib.maintainers; [ veprbl ];
};
}
})