e545bb588e
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-wurlitzer/versions
28 lines
494 B
Nix
28 lines
494 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, mock
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "wurlitzer";
|
|
version = "1.0.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0nab45pfgqdxhhyshf717xfzniss2h3bx19zdaq9gqr6v8lw6wpr";
|
|
};
|
|
|
|
checkInputs = [ mock pytest ];
|
|
|
|
checkPhase = ''
|
|
py.test test.py
|
|
'';
|
|
|
|
meta = {
|
|
description = "Capture C-level output in context managers";
|
|
homepage = https://github.com/minrk/wurlitzer;
|
|
license = lib.licenses.mit;
|
|
};
|
|
} |