mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
pythonPackages.xdot: move expression
This commit is contained in:
parent
8f93cba89c
commit
fac32de1db
2 changed files with 22 additions and 17 deletions
21
pkgs/development/python-modules/xdot/default.nix
Normal file
21
pkgs/development/python-modules/xdot/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ lib, buildPythonPackage, fetchPypi
|
||||
, wrapGAppsHook, gobjectIntrospection, pygobject3, graphviz, gnome3 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "xdot";
|
||||
version = "0.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "01v9vmgdxz1q2m2vq2b4aqx4ycw7grc0l4is673ygvyg9rk02dx3";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ wrapGAppsHook ];
|
||||
propagatedBuildInputs = [ gobjectIntrospection pygobject3 graphviz gnome3.gtk ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "xdot.py is an interactive viewer for graphs written in Graphviz's dot";
|
||||
homepage = https://github.com/jrfonseca/xdot.py;
|
||||
license = licenses.lgpl3Plus;
|
||||
};
|
||||
}
|
|
@ -18320,23 +18320,7 @@ EOF
|
|||
|
||||
persistent = callPackage ../development/python-modules/persistent {};
|
||||
|
||||
xdot = buildPythonPackage rec {
|
||||
name = "xdot-0.9";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/x/xdot/${name}.tar.gz";
|
||||
sha256 = "01v9vmgdxz1q2m2vq2b4aqx4ycw7grc0l4is673ygvyg9rk02dx3";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with pkgs; [ wrapGAppsHook ];
|
||||
propagatedBuildInputs = with self; [ pkgs.gobjectIntrospection pygobject3 pkgs.graphviz pkgs.gnome3.gtk ];
|
||||
|
||||
meta = {
|
||||
description = "xdot.py is an interactive viewer for graphs written in Graphviz's dot";
|
||||
homepage = https://github.com/jrfonseca/xdot.py;
|
||||
license = licenses.lgpl3Plus;
|
||||
};
|
||||
};
|
||||
xdot = callPackage ../development/python-modules/xdot { };
|
||||
|
||||
zetup = callPackage ../development/python-modules/zetup { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue