nixpkgs/pkgs/development/python-modules/flexmock/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
778 B
Nix
Raw Normal View History

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