depot/third_party/nixpkgs/pkgs/development/python-modules/flexmock/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

42 lines
778 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
, teamcity-messages
, testtools
}:
buildPythonPackage rec {
pname = "flexmock";
version = "0.11.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-RPcCwNCt3nCFtMev6a2rULAbckrO635Jsp9WMuYyXOg=";
};
checkInputs = [
pytestCheckHook
teamcity-messages
testtools
];
disabledTests = [
"test_failed_test_case"
];
pythonImportsCheck = [
"flexmock"
];
meta = with lib; {
description = "Testing library that makes it easy to create mocks,stubs and fakes";
homepage = "https://flexmock.readthedocs.org";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ ];
};
}