nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 40 lines 755 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "teamcity-messages"; 10 version = "1.31"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchFromGitHub { 16 owner = "JetBrains"; 17 repo = pname; 18 rev = "v${version}"; 19 sha256 = "sha256-oYXP9HWdgmEq48rYyuX6zHf+cp835C0BtHUAME+5S+k="; 20 }; 21 22 checkInputs = [ 23 pytestCheckHook 24 ]; 25 26 pytestFlagsArray = [ 27 "tests/unit-tests/" 28 ]; 29 30 pythonImportsCheck = [ 31 "teamcity" 32 ]; 33 34 meta = with lib; { 35 description = "Python unit test reporting to TeamCity"; 36 homepage = "https://github.com/JetBrains/teamcity-messages"; 37 license = licenses.asl20; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}