python310Packages.lupa: disable on unsupported Python releases
- add format
This commit is contained in:
parent
9ca9baab51
commit
a32219871e
@ -2,20 +2,28 @@
|
||||
, buildPythonPackage
|
||||
, cython
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lupa";
|
||||
version = "2.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-rT/vSGvnrd3TSf6anDk3iQYTEs+Y68UztIm+NPSEy3k=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython ];
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "lupa" ];
|
||||
pythonImportsCheck = [
|
||||
"lupa"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Lua in Python";
|
||||
|
Loading…
Reference in New Issue
Block a user