at master 642 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "oschmod"; 11 version = "0.3.12"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-vsmSFvMWFe5lOypch8rPtOS2GEwOn3HaGGMA2srpdPM="; 17 }; 18 19 build-system = [ setuptools ]; 20 21 nativeCheckInputs = [ pytestCheckHook ]; 22 23 pythonImportsCheck = [ "oschmod" ]; 24 25 meta = { 26 description = "Change file permissions on Windows, macOS, and Linux"; 27 homepage = "https://github.com/yakdriver/oschmod"; 28 license = lib.licenses.asl20; 29 maintainers = with lib.maintainers; [ gordon-bp ]; 30 }; 31}