about summary refs log tree commit diff
path: root/pkgs/development/python-modules/lupa/default.nix
blob: b2123b92eb1fd5be0dd7fa5370fbf5f88f5266b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ lib
, 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
  ];

  pythonImportsCheck = [
    "lupa"
  ];

  meta = with lib; {
    description = "Lua in Python";
    homepage = "https://github.com/scoder/lupa";
    changelog = "https://github.com/scoder/lupa/blob/lupa-${version}/CHANGES.rst";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}