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