1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 localimport,
6 pathlib2,
7 six,
8}:
9
10buildPythonPackage rec {
11 pname = "nodepy-runtime";
12 version = "2.1.5";
13 format = "setuptools";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-6tSsD76EpCZxkdulv1BcUZtIXGWLG6PuII25J8STygE=";
18 };
19
20 propagatedBuildInputs = [
21 localimport
22 pathlib2
23 six
24 ];
25
26 pythonImportsCheck = [ "nodepy" ];
27
28 meta = with lib; {
29 homepage = "https://github.com/nodepy/nodepy";
30 description = "Runtime for Python inspired by Node.JS";
31 longDescription = ''
32 Node.py is a Python runtime and package manager compatible with CPython
33 2.7 and 3.3 – 3.6. It provides a separate import mechanism for modules
34 inspired by Node.js, bringing dependency management and ease of deployment
35 for Python applications up to par with other languages without virtual
36 environments.
37
38 Node.py comes with a built-in package manager that builds on Pip for
39 standard Python dependencies but also adds the capability to install
40 packages that are specifically developed for Node.py. To install the
41 dependencies of the package manager you must specify the [pm] install
42 extra.
43 '';
44 license = licenses.mit;
45 maintainers = with maintainers; [ ];
46 };
47}