2021-03-08 23:22:28 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, cython
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lupa";
|
2022-03-06 02:41:53 +00:00
|
|
|
version = "1.13";
|
2021-03-08 23:22:28 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-03-06 02:41:53 +00:00
|
|
|
sha256 = "sha256-4dlKwqYw0nECfawsIdFCh3HZ6p1NiPFfIKd4E0DwKk4=";
|
2021-03-08 23:22:28 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|