nixpkgs/pkgs/development/python-modules/fudge/default.nix
R. RyanTM ea1b540208 python27Packages.fudge: 1.1.0 -> 1.1.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python2.7-fudge/versions
2018-10-24 15:10:54 +02:00

35 lines
648 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, nose
, nosejs
, sphinx
, isPy3k
}:
buildPythonPackage rec {
pname = "fudge";
version = "1.1.1";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1p7g6hv9qxscbzjv2n5pczpkkp55mp3s56adfc912w9qpf3rv4nr";
};
buildInputs = [ nose nosejs ];
propagatedBuildInputs = [ sphinx ];
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 ];
};
}