mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 02:23:54 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
41 lines
760 B
Nix
41 lines
760 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
poetry-core,
|
|
teamcity-messages,
|
|
testtools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "flexmock";
|
|
version = "0.12.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-ILaQr6T/jG8xVI2JbW1BzKH8kFCkz2KLll6kNOxUjuM=";
|
|
};
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
teamcity-messages
|
|
testtools
|
|
];
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|