depot/third_party/nixpkgs/pkgs/development/python-modules/lupa/default.nix

27 lines
503 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, cython
, fetchPypi
}:
buildPythonPackage rec {
pname = "lupa";
version = "1.10";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-4lEbJ/OB9v22bvQNzFGCFQOBl0MbJBk1Z438PVEXgjE=";
};
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 ];
};
}