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
|
||||
, 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" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue