nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 cython,
5 fetchPypi,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "lupa";
11 version = "2.6";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-mncKbolXa+NEdmjXztMSzW/UHTwTwkYsncLCq1cORdk=";
17 };
18
19 build-system = [
20 cython
21 setuptools
22 ];
23
24 pythonImportsCheck = [ "lupa" ];
25
26 meta = {
27 description = "Lua in Python";
28 homepage = "https://github.com/scoder/lupa";
29 changelog = "https://github.com/scoder/lupa/blob/lupa-${version}/CHANGES.rst";
30 license = lib.licenses.mit;
31 maintainers = with lib.maintainers; [ fab ];
32 };
33}