about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/lupa/default.nix
blob: c79f0de9dd893ce6962bd3b2c656a9f6e62933e9 (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
36
37
{ lib
, buildPythonPackage
, cython_3
, fetchPypi
, pythonOlder
, setuptools
}:

buildPythonPackage rec {
  pname = "lupa";
  version = "2.1";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-dgAwcS1SczlvXpY92HMa77WsZdku/4v4/UEkwWMP6VA=";
  };

  build-system = [
    cython_3
    setuptools
  ];

  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 ];
  };
}