2018-05-08 23:19:22 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder
|
|
|
|
, attrs
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "outcome";
|
2020-11-29 14:04:35 +00:00
|
|
|
version = "1.1.0";
|
2018-05-08 23:19:22 +01:00
|
|
|
disabled = pythonOlder "3.4";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:35 +00:00
|
|
|
sha256 = "e862f01d4e626e63e8f92c38d1f8d5546d3f9cce989263c521b2e7990d186967";
|
2018-05-08 23:19:22 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
propagatedBuildInputs = [ attrs ];
|
|
|
|
# Has a test dependency on trio, which depends on outcome.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Capture the outcome of Python function calls.";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/python-trio/outcome";
|
2018-05-08 23:19:22 +01:00
|
|
|
license = with lib.licenses; [ mit asl20 ];
|
|
|
|
maintainers = with lib.maintainers; [ catern ];
|
|
|
|
};
|
|
|
|
}
|