about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/nodepy-runtime/default.nix
blob: 5be806e4cefebe50cd89eaec23c71d9d0b5d0225 (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
38
39
40
41
42
43
44
45
46
47
{ lib
, buildPythonPackage
, fetchPypi
, localimport
, pathlib2
, six
}:

buildPythonPackage rec {
  pname = "nodepy-runtime";
  version = "2.1.5";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-6tSsD76EpCZxkdulv1BcUZtIXGWLG6PuII25J8STygE=";
  };

  propagatedBuildInputs = [
    localimport
    pathlib2
    six
  ];

  pythonImportsCheck = [
    "nodepy"
  ];

  meta = with lib; {
    homepage = "https://github.com/nodepy/nodepy";
    description = "Runtime for Python inspired by Node.JS";
    longDescription = ''
      Node.py is a Python runtime and package manager compatible with CPython
      2.7 and 3.3 – 3.6. It provides a separate import mechanism for modules
      inspired by Node.js, bringing dependency management and ease of deployment
      for Python applications up to par with other languages without virtual
      environments.

      Node.py comes with a built-in package manager that builds on Pip for
      standard Python dependencies but also adds the capability to install
      packages that are specifically developed for Node.py. To install the
      dependencies of the package manager you must specify the [pm] install
      extra.
    '';
    license = licenses.mit;
    maintainers = with maintainers; [ AndersonTorres ];
  };
}