3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/flexmock/default.nix
R. RyanTM 0474b6b381 python37Packages.flexmock: 0.10.2 -> 0.10.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-flexmock/versions
2019-01-17 09:15:54 +01:00

26 lines
534 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
pname = "flexmock";
version = "0.10.3";
src = fetchPypi {
inherit pname version;
sha256 = "031c624pdqm7cc0xh4yz5k69gqxn2bbrjz13s17684q5shn0ik21";
};
checkInputs = [ pytest ];
checkPhase = ''
py.test
'';
meta = with lib; {
description = "flexmock is a testing library for Python that makes it easy to create mocks,stubs and fakes.";
homepage = http://flexmock.readthedocs.org;
license = licenses.bsdOriginal;
};
}