depot/third_party/nixpkgs/pkgs/development/python-modules/minimock/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

28 lines
530 B
Nix

{ lib
, buildPythonPackage
, fetchurl
, nose
}:
buildPythonPackage rec {
version = "1.2.8";
pname = "minimock";
src = fetchurl {
url = "https://bitbucket.org/jab/minimock/get/${version}.zip";
sha256 = "c88fa8a7120623f23990a7f086a9657f6ced09025a55e3be8649a30b4945441a";
};
checkInputs = [ nose ];
checkPhase = ''
./test
'';
meta = with lib; {
description = "A minimalistic mocking library for python";
homepage = "https://pypi.python.org/pypi/MiniMock";
license = licenses.mit;
};
}