mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
pythonPackages.pyvis: init at 2021-04-29 (#127811)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
c7dcd066b8
commit
98db2f6bfa
44
pkgs/development/python-modules/pyvis/default.nix
Normal file
44
pkgs/development/python-modules/pyvis/default.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ lib
|
||||
, isPy3k
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, buildPythonPackage
|
||||
, networkx
|
||||
, jinja2
|
||||
, ipython
|
||||
, jsonpickle
|
||||
, numpy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyvis";
|
||||
version = "unstable-2021-04-29";
|
||||
|
||||
# We use unstable, as test are failing for 0.1.9
|
||||
src = fetchFromGitHub {
|
||||
owner = "WestHealth";
|
||||
repo = pname;
|
||||
rev = "4c521302abf9725dcbe7f59962baf85360b2718d";
|
||||
sha256 = "sha256-DYbHQpxtSfiLbzmBGclym/ChM0WLBzSEC/3phDTtGY8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Remove when https://github.com/WestHealth/pyvis/pull/101 is merged.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/WestHealth/pyvis/commit/158a34de45f970b17ffd746c6e705b89128e2445.patch";
|
||||
sha256 = "sha256-zK72nrnn5YLGNW6PKYUyHry5ORCdt1T1oH6n1X64DKg=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ networkx jinja2 ipython jsonpickle ];
|
||||
|
||||
checkInputs = [ numpy ];
|
||||
|
||||
pythonImportsCheck = [ "pyvis" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/WestHealth/pyvis";
|
||||
description = "Python package for creating and visualizing interactive network graphs";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ erictapen ];
|
||||
};
|
||||
}
|
@ -7171,6 +7171,8 @@ in {
|
||||
|
||||
pyvicare = callPackage ../development/python-modules/pyvicare { };
|
||||
|
||||
pyvis = callPackage ../development/python-modules/pyvis { };
|
||||
|
||||
pyvisa = callPackage ../development/python-modules/pyvisa { };
|
||||
|
||||
pyvisa-py = callPackage ../development/python-modules/pyvisa-py { };
|
||||
|
Loading…
Reference in New Issue
Block a user