python3Packages.immutables: 0.15 -> 0.16

This commit is contained in:
Fabian Affolter 2021-08-22 13:20:00 +02:00
parent 77506e4f25
commit 1fd619a368

View file

@ -1,21 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, mypy
, typing-extensions
}:
buildPythonPackage rec {
pname = "immutables";
version = "0.15";
disabled = pythonOlder "3.5";
version = "0.16";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "3713ab1ebbb6946b7ce1387bb9d1d7f5e09c45add58c2a2ee65f963c171e746b";
src = fetchFromGitHub {
owner = "MagicStack";
repo = pname;
rev = "v${version}";
sha256 = "1f6nlpvrs41cjrnikx48qd0rlf7d89h6dzlr5zcndzsim7fgsmgz";
};
checkInputs = [ pytestCheckHook ];
propagatedBuildInputs = [
typing-extensions
];
checkInputs = [
mypy
pytestCheckHook
];
disabledTests = [
# Version mismatch
"testMypyImmu"
];
pythonImportsCheck = [ "immutables" ];