Files

31 lines
740 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
}:
buildPythonPackage rec {
pname = "expects";
version = "0.9.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "jaimegildesagredo";
repo = "expects";
rev = "v${version}";
hash = "sha256-3j9LMt/IakIyFz4I+OoGwZnEg/0KzjyBQJ4miyCsYVY=";
};
# mamba is used as test runner. Not available and should not be used as
# it's just another unmaintained test runner.
doCheck = false;
pythonImportsCheck = [ "expects" ];
meta = {
description = "Expressive and extensible TDD/BDD assertion library for Python";
homepage = "https://expects.readthedocs.io/";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}