depot/third_party/nixpkgs/pkgs/development/python-modules/teamcity-messages/default.nix
Default email 92b3d6365d Project import generated by Copybara.
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
2022-10-30 16:09:59 +01:00

40 lines
755 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "teamcity-messages";
version = "1.32";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "JetBrains";
repo = pname;
rev = "v${version}";
sha256 = "sha256-9az7kD7nKqMF2b3/eFgF+pOKKIYLvTy2sf4TSJfHRnA=";
};
checkInputs = [
pytestCheckHook
];
pytestFlagsArray = [
"tests/unit-tests/"
];
pythonImportsCheck = [
"teamcity"
];
meta = with lib; {
description = "Python unit test reporting to TeamCity";
homepage = "https://github.com/JetBrains/teamcity-messages";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}