diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2018-11-24 14:32:43 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-12-03 16:50:40 +0100 |
commit | 8864410439b50ec4c8fff0635a4dbf7ce8607fc4 (patch) | |
tree | bdac1ccda05833476dfabbf45e53de83069a4f99 /pkgs/development/python-modules/flexmock | |
parent | 0fdd47e5098fd053e16da961ae11a51d0adc604e (diff) |
python.pkgs.flexmock: init at 0.10.2
Diffstat (limited to 'pkgs/development/python-modules/flexmock')
-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 |