nixpkgs/pkgs/development/python-modules/outcome/default.nix

28 lines
691 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, pythonOlder
, attrs
, pytest
}:
buildPythonPackage rec {
pname = "outcome";
2018-07-22 12:14:48 +02:00
version = "0.1.0";
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
2018-07-22 12:14:48 +02:00
sha256 = "d54e5d469088af53022f64a753b288d6bab0fe42e513eb7146137d560e2e516e";
};
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.";
homepage = https://github.com/python-trio/outcome;
license = with lib.licenses; [ mit asl20 ];
maintainers = with lib.maintainers; [ catern ];
};
}