python312Packages.oschmod: run tests and check import

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2024-08-22 16:25:03 +02:00
parent 18fb834638
commit abe192b632

View File

@ -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";