1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "case-converter"; 11 version = "1.2.0"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "chrisdoherty4"; 16 repo = "python-case-converter"; 17 tag = "v${version}"; 18 hash = "sha256-PS/9Ndl3oD9zimEf819dNoSAeNJPndVjT+dkfW7FIJs="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 pythonImportsCheck = [ "caseconverter" ]; 24 25 doCheck = true; 26 27 nativeCheckInputs = [ pytestCheckHook ]; 28 29 meta = { 30 description = "Case conversion library for Python"; 31 homepage = "https://github.com/chrisdoherty4/python-case-converter"; 32 changelog = "https://github.com/chrisdoherty4/python-case-converter/releases/tag/${src.tag}"; 33 license = lib.licenses.mit; 34 maintainers = with lib.maintainers; [ sigmanificient ]; 35 }; 36}