blob: ae2b05a92eff355ea4c3828b2ff12eb91c95383d (
plain)
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
|
{
lib,
python3Packages,
fetchPypi,
nodejs-slim,
}:
python3Packages.buildPythonPackage rec {
pname = "PyExecJS";
version = "1.5.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-NMwdBwl2kYGD/3vcCtcfgVeokcknCMAMX7v/enafUFw=";
};
build-system = [
python3Packages.setuptools
];
dependencies = [
python3Packages.six
# the library supports multiple backends, but node seems the easiest one to include here
nodejs-slim
];
meta = {
homepage = "https://github.com/doloopwhile/PyExecJS";
description = "Run JavaScript code from Python";
license = lib.licenses.mit;
};
}
|