1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 07:04:28 +00:00

python3Packages.expects: init at 0.9.0

This commit is contained in:
Fabian Affolter 2021-04-10 20:41:26 +02:00
parent 41d8ec87b2
commit 124aa02185
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "expects";
version = "0.9.0";
src = fetchFromGitHub {
owner = "jaimegildesagredo";
repo = pname;
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 ];
};
}

View file

@ -2254,6 +2254,8 @@ in {
exifread = callPackage ../development/python-modules/exifread { };
expects = callPackage ../development/python-modules/expects { };
expiringdict = callPackage ../development/python-modules/expiringdict { };
exrex = callPackage ../development/python-modules/exrex { };