python3Packages.teletype: disable on older Python releases
This commit is contained in:
parent
c61e5f0647
commit
e52016f9b6
1 changed files with 12 additions and 3 deletions
|
@ -1,18 +1,27 @@
|
|||
{ buildPythonPackage, fetchPypi, lib }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "teletype";
|
||||
version = "1.3.4";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-uBppM4w9GlMgYqKFGw1Rcjvq+mnU04K3E74jCgK9YYo=";
|
||||
hash = "sha256-uBppM4w9GlMgYqKFGw1Rcjvq+mnU04K3E74jCgK9YYo=";
|
||||
};
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "teletype" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"teletype"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A high-level cross platform tty library";
|
||||
|
|
Loading…
Reference in a new issue