depot/third_party/nixpkgs/pkgs/development/python-modules/fudge/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

31 lines
587 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, nose
, isPy3k
}:
buildPythonPackage rec {
pname = "fudge";
version = "1.1.1";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1p7g6hv9qxscbzjv2n5pczpkkp55mp3s56adfc912w9qpf3rv4nr";
};
checkInputs = [ nose ];
checkPhase = ''
nosetests -v
'';
meta = with stdenv.lib; {
homepage = "https://github.com/fudge-py/fudge";
description = "Replace real objects with fakes (mocks, stubs, etc) while testing";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}