mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 21:57:02 +03:00
pythonPackages.graphviz: refactor move to python-modules
This commit is contained in:
parent
c13f598fc2
commit
d954c8ff82
25
pkgs/development/python-modules/graphviz/default.nix
Normal file
25
pkgs/development/python-modules/graphviz/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pkgs
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "graphviz";
|
||||
version = "0.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "14r9brj4r31b3qy1nnn34v3l4h0n39bqxg9sn2fz4p3pp5mglnl6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pkgs.graphviz ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Simple Python interface for Graphviz";
|
||||
homepage = https://github.com/xflr6/graphviz;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
@ -2879,23 +2879,7 @@ in {
|
||||
|
||||
pyte = callPackage ../development/python-modules/pyte { };
|
||||
|
||||
graphviz = buildPythonPackage rec {
|
||||
name = "graphviz-${version}";
|
||||
version = "0.9";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/g/graphviz/${name}.zip";
|
||||
sha256 = "14r9brj4r31b3qy1nnn34v3l4h0n39bqxg9sn2fz4p3pp5mglnl6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pkgs.graphviz ];
|
||||
|
||||
meta = {
|
||||
description = "Simple Python interface for Graphviz";
|
||||
homepage = https://github.com/xflr6/graphviz;
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
graphviz = callPackage ../development/python-modules/graphviz { };
|
||||
|
||||
pygraphviz = callPackage ../development/python-modules/pygraphviz { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user