Merge pull request #336549 from katexochen/oschmod/minor
python312Packages.oschmod: run tests and check import
This commit is contained in:
commit
03e3553199
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user