summary refs log tree commit diff
path: root/pkgs/development/python-modules/backports_unittest-mock/default.nix
blob: 3baaa871adf57afce29626ab0926fc69e4e9e17d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, buildPythonPackage, fetchPypi, setuptools_scm, mock }:

buildPythonPackage rec {
  pname = "backports.unittest_mock";
  version = "1.4";

  src = fetchPypi {
    inherit pname version;
    sha256 = "73df9093bc7a2cc8e7018d08d6983dc5bcb2a47d7e7e107b9e8d0711f1702ef8";
  };

  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;
  };
}