Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 534 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5}: 6 7buildPythonPackage rec { 8 pname = "flexmock"; 9 version = "0.10.3"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "031c624pdqm7cc0xh4yz5k69gqxn2bbrjz13s17684q5shn0ik21"; 14 }; 15 16 checkInputs = [ pytest ]; 17 checkPhase = '' 18 py.test 19 ''; 20 21 meta = with lib; { 22 description = "flexmock is a testing library for Python that makes it easy to create mocks,stubs and fakes."; 23 homepage = http://flexmock.readthedocs.org; 24 license = licenses.bsdOriginal; 25 }; 26}