diff options
Diffstat (limited to 'pkgs/development/python-modules/flexmock/default.nix')
-rw-r--r-- | pkgs/development/python-modules/flexmock/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/flexmock/default.nix b/pkgs/development/python-modules/flexmock/default.nix new file mode 100644 index 0000000000000..b80aafe3bf2c7 --- /dev/null +++ b/pkgs/development/python-modules/flexmock/default.nix @@ -0,0 +1,26 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pytest +}: + +buildPythonPackage rec { + pname = "flexmock"; + version = "0.10.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "fe95c8727f4db73dc8f2f7b4548bffe7992440a965fefd60da291abda5352c2b"; + }; + + 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 = http://flexmock.readthedocs.org; + license = licenses.bsdOriginal; + }; +} \ No newline at end of file |