python3Packages.immutables: 0.15 -> 0.16
This commit is contained in:
parent
77506e4f25
commit
1fd619a368
1 changed files with 23 additions and 7 deletions
|
@ -1,21 +1,37 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, mypy
|
||||||
|
, typing-extensions
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "immutables";
|
pname = "immutables";
|
||||||
version = "0.15";
|
version = "0.16";
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "MagicStack";
|
||||||
sha256 = "3713ab1ebbb6946b7ce1387bb9d1d7f5e09c45add58c2a2ee65f963c171e746b";
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1f6nlpvrs41cjrnikx48qd0rlf7d89h6dzlr5zcndzsim7fgsmgz";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook ];
|
propagatedBuildInputs = [
|
||||||
|
typing-extensions
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
mypy
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# Version mismatch
|
||||||
|
"testMypyImmu"
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "immutables" ];
|
pythonImportsCheck = [ "immutables" ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue