2021-03-09 00:22:28 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, cython
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lupa";
|
2021-09-03 08:33:42 +02:00
|
|
|
version = "1.10";
|
2021-03-09 00:22:28 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-03 08:33:42 +02:00
|
|
|
sha256 = "sha256-4lEbJ/OB9v22bvQNzFGCFQOBl0MbJBk1Z438PVEXgjE=";
|
2021-03-09 00:22:28 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cython ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "lupa" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Lua in Python";
|
|
|
|
homepage = "https://github.com/scoder/lupa";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|