2017-09-05 10:16:41 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, setuptools_scm, mock }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "backports.unittest_mock";
|
2018-07-22 11:05:11 +01:00
|
|
|
version = "1.4";
|
2017-09-05 10:16:41 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-22 11:05:11 +01:00
|
|
|
sha256 = "73df9093bc7a2cc8e7018d08d6983dc5bcb2a47d7e7e107b9e8d0711f1702ef8";
|
2017-09-05 10:16:41 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ mock ];
|
|
|
|
|
|
|
|
buildInputs = [ setuptools_scm ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Provides a function install() which makes the mock module";
|
|
|
|
homepage = https://github.com/jaraco/backports.unittest_mock;
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|