1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-04 06:42:33 +03:00
nixpkgs/pkgs/development/python-modules/flexmock/default.nix

27 lines
551 B
Nix
Raw Normal View History

2018-11-24 14:32:43 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
pname = "flexmock";
version = "0.10.10";
2018-11-24 14:32:43 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "8bb073f4b7b590672e8c312e73d6a14f88ae624a867b691462f9e8c24b9f19d1";
2018-11-24 14:32:43 +01:00
};
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 = "https://flexmock.readthedocs.org";
2018-11-24 14:32:43 +01:00
license = licenses.bsdOriginal;
};
}