1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "teamcity-messages"; 12 version = "1.33"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "JetBrains"; 19 repo = "teamcity-messages"; 20 tag = "v${version}"; 21 hash = "sha256-BAwAfe54J+gbbiz03Yiu3eC/9RnI7P0mfR3nfM1oKZw="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 enabledTestPaths = [ "tests/unit-tests/" ]; 29 30 pythonImportsCheck = [ "teamcity" ]; 31 32 meta = with lib; { 33 description = "Python unit test reporting to TeamCity"; 34 homepage = "https://github.com/JetBrains/teamcity-messages"; 35 changelog = "https://github.com/JetBrains/teamcity-messages/releases/tag/v${src.tag}"; 36 license = licenses.asl20; 37 maintainers = with maintainers; [ fab ]; 38 }; 39}