58849dfc4f
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
26 lines
550 B
Nix
26 lines
550 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "flexmock";
|
|
version = "0.10.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "003422fdbcf5d6570e60a0eafeb54c0af624c6cddab5fc3bfe026e52dd0f9c5a";
|
|
};
|
|
|
|
checkInputs = [ pytest ];
|
|
checkPhase = ''
|
|
py.test
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "flexmock is a testing library for Python that makes it easy to create mocks,stubs and fakes.";
|
|
homepage = "https://flexmock.readthedocs.org";
|
|
license = licenses.bsdOriginal;
|
|
};
|
|
}
|