1{ lib 2, buildPythonPackage 3, fetchurl 4, nose 5}: 6 7buildPythonPackage rec { 8 version = "1.2.8"; 9 pname = "minimock"; 10 11 src = fetchurl { 12 url = "https://bitbucket.org/jab/minimock/get/${version}.zip"; 13 sha256 = "c88fa8a7120623f23990a7f086a9657f6ced09025a55e3be8649a30b4945441a"; 14 }; 15 16 checkInputs = [ nose ]; 17 18 checkPhase = '' 19 ./test 20 ''; 21 22 meta = with lib; { 23 description = "A minimalistic mocking library for python"; 24 homepage = "https://pypi.python.org/pypi/MiniMock"; 25 license = licenses.mit; 26 }; 27 28}