Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
31 lines
755 B
Nix
31 lines
755 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "expects";
|
|
version = "0.9.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jaimegildesagredo";
|
|
repo = "expects";
|
|
rev = "v${version}";
|
|
sha256 = "0mk1mhh8n9ly820krkhazn1w96f10vmgh21y2wr44sn8vwr4ngyy";
|
|
};
|
|
|
|
# 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 = with lib; {
|
|
description = "Expressive and extensible TDD/BDD assertion library for Python";
|
|
homepage = "https://expects.readthedocs.io/";
|
|
license = with licenses; [ asl20 ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|