nixpkgs/pkgs/development/python-modules/wurlitzer/default.nix
R. RyanTM e545bb588e python37Packages.wurlitzer: 1.0.2 -> 1.0.3
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
2019-08-05 16:56:44 -07:00

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