Merge pull request #336549 from katexochen/oschmod/minor

python312Packages.oschmod: run tests and check import
This commit is contained in:
OTABI Tomoya
2024-08-23 09:38:15 +09:00
committed by GitHub
@@ -3,6 +3,7 @@
buildPythonPackage,
fetchPypi,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
@@ -12,10 +13,15 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "sha256-vsmSFvMWFe5lOypch8rPtOS2GEwOn3HaGGMA2srpdPM=";
hash = "sha256-vsmSFvMWFe5lOypch8rPtOS2GEwOn3HaGGMA2srpdPM=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "oschmod" ];
meta = {
description = "Change file permissions on Windows, macOS, and Linux";
homepage = "https://github.com/yakdriver/oschmod";