2018-10-17 16:47:17 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchurl
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
version = "1.2.8";
|
|
|
|
pname = "minimock";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://bitbucket.org/jab/minimock/get/${version}.zip";
|
|
|
|
sha256 = "c88fa8a7120623f23990a7f086a9657f6ced09025a55e3be8649a30b4945441a";
|
|
|
|
};
|
|
|
|
|
2019-01-05 10:54:27 +00:00
|
|
|
checkInputs = [ nose ];
|
2018-10-17 16:47:17 +01:00
|
|
|
|
2019-01-05 10:54:27 +00:00
|
|
|
checkPhase = ''
|
|
|
|
./test
|
|
|
|
'';
|
2018-10-17 16:47:17 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A minimalistic mocking library for python";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pypi.python.org/pypi/MiniMock";
|
2018-10-17 16:47:17 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|