about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/networkx/default.nix
blob: a4c66048953be5addc31b141b91f03c676613e8b (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
{ lib
, buildPythonPackage
, fetchPypi
, nose
, decorator
, setuptools
}:

buildPythonPackage rec {
  pname = "networkx";
  # upgrade may break sage, please test the sage build or ping @timokau on upgrade
  version = "2.2";

  src = fetchPypi {
    inherit pname version;
    extension = "zip";
    sha256 = "12swxb15299v9vqjsq4z8rgh5sdhvpx497xwnhpnb0gynrx6zra5";
  };

  checkInputs = [ nose ];
  propagatedBuildInputs = [ decorator setuptools ];

  meta = {
    homepage = "https://networkx.github.io/";
    description = "Library for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks";
    license = lib.licenses.bsd3;
  };
}