567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
41 lines
754 B
Nix
41 lines
754 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
poetry-core,
|
|
teamcity-messages,
|
|
testtools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "flexmock";
|
|
version = "0.12.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Q1xmHDs1R3V165FQQooc/Xxiy5kqp4h1Z8M1euvJrKE=";
|
|
};
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
teamcity-messages
|
|
testtools
|
|
];
|
|
|
|
pythonImportsCheck = [ "flexmock" ];
|
|
|
|
meta = {
|
|
description = "Testing library that makes it easy to create mocks,stubs and fakes";
|
|
homepage = "https://flexmock.readthedocs.org";
|
|
license = lib.licenses.bsdOriginal;
|
|
maintainers = [ ];
|
|
};
|
|
}
|