2017-09-05 11:16:41 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, setuptools_scm, mock }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "backports.unittest_mock";
|
2019-10-24 08:47:26 +02:00
|
|
|
version = "1.5";
|
2017-09-05 11:16:41 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 08:47:26 +02:00
|
|
|
sha256 = "eff58e53de8fdeb27a1c87a9d57e7b91d15d1bc3854e85344b1a2e69f31ecda7";
|
2017-09-05 11:16:41 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ mock ];
|
|
|
|
|
|
|
|
buildInputs = [ setuptools_scm ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Provides a function install() which makes the mock module";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/jaraco/backports.unittest_mock";
|
2017-09-05 11:16:41 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|