nixpkgs/pkgs/development/python-modules/flexmock/default.nix
R. RyanTM 2f1eefa618 python37Packages.flexmock: 0.10.3 -> 0.10.4
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

(cherry picked from commit 614b5abe2e)
2019-04-07 13:53:41 +02:00

26 lines
534 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
pname = "flexmock";
version = "0.10.4";
src = fetchPypi {
inherit pname version;
sha256 = "0b6qw3grhgx58kxlkj7mdma7xdvlj02zabvcf7w2qifnfjwwwcsh";
};
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;
};
}