about summary refs log tree commit diff
path: root/pkgs/development/python-modules/iocapture/default.nix
blob: a36a01eeeead91f2730a9d8f9cf99f6edfac227a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
  lib,
  buildPythonPackage,
  fetchPypi,
  flexmock,
  pytest,
  pytest-cov,
  six,
}:

buildPythonPackage rec {
  pname = "iocapture";
  version = "0.1.2";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "86670e1808bcdcd4f70112f43da72ae766f04cd8311d1071ce6e0e0a72e37ee8";
  };

  nativeCheckInputs = [
    flexmock
    pytest
    pytest-cov
    six
  ];

  # No tests in archive
  doCheck = false;

  meta = with lib; {
    description = "Capture stdout, stderr easily";
    homepage = "https://github.com/oinume/iocapture";
    license = licenses.mit;
  };
}