Merge pull request #113035 from fabaff/tests-immutables

python3Packages.immutables: enable tests
This commit is contained in:
Mario Rodas 2021-02-13 15:12:43 -05:00 committed by GitHub
commit 42240d52fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,9 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder }:
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "immutables";
@ -10,10 +15,14 @@ buildPythonPackage rec {
sha256 = "3713ab1ebbb6946b7ce1387bb9d1d7f5e09c45add58c2a2ee65f963c171e746b";
};
meta = {
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "immutables" ];
meta = with lib; {
description = "An immutable mapping type for Python";
homepage = "https://github.com/MagicStack/immutables";
license = with lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [ catern ];
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ catern ];
};
}