forked from mirrors/nixpkgs
python3Packages.dotmap: disable on older Python releases
This commit is contained in:
parent
cfb8083201
commit
6c5fc227d9
|
@ -2,24 +2,32 @@
|
|||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dotmap";
|
||||
version = "1.3.27";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-gHCQIN8CIeF8TgHWeQu8GCRxK1aQFJJ/d7jZurxxMik=";
|
||||
hash = "sha256-gHCQIN8CIeF8TgHWeQu8GCRxK1aQFJJ/d7jZurxxMik=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "dotmap/test.py" ];
|
||||
pytestFlagsArray = [
|
||||
"dotmap/test.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "dotmap" ];
|
||||
pythonImportsCheck = [
|
||||
"dotmap"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python for dot-access dictionaries";
|
||||
|
|
Loading…
Reference in a new issue