3f48c44736
Does not react to maintainer pings; not a member of the nixpkgs-maintainers team. Did not respond to https://github.com/NixOS/nixpkgs/pull/452507#issuecomment-3415956989.
36 lines
695 B
Nix
36 lines
695 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
attrs,
|
|
pytest,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "outcome";
|
|
version = "1.3.0.post0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-nc8C5l8pcbgAR7N3Ro5yomjhXArzzxI45v8U9/kRQ7g=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
nativeCheckInputs = [ pytest ];
|
|
propagatedBuildInputs = [ attrs ];
|
|
# Has a test dependency on trio, which depends on outcome.
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Capture the outcome of Python function calls";
|
|
homepage = "https://github.com/python-trio/outcome";
|
|
license = with lib.licenses; [
|
|
mit
|
|
asl20
|
|
];
|
|
};
|
|
}
|