mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
pythonPackages.dot2tex: refactor move to python-modules
This commit is contained in:
parent
8b8155facc
commit
64a24d3f9a
28
pkgs/development/python-modules/dot2tex/default.nix
Normal file
28
pkgs/development/python-modules/dot2tex/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, pyparsing
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dot2tex";
|
||||
version = "2.9.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7d3e54add7dccdaeb6cc9e61ceaf7b587914cf8ebd6821cfea008acdc1e50d4a";
|
||||
};
|
||||
|
||||
# Tests fail with 3.x. Furthermore, package is no longer maintained.
|
||||
disabled = isPy3k;
|
||||
|
||||
propagatedBuildInputs = [ pyparsing ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Convert graphs generated by Graphviz to LaTeX friendly formats";
|
||||
homepage = "https://github.com/kjellmf/dot2tex";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
@ -4449,27 +4449,7 @@ in {
|
||||
|
||||
jenkins-job-builder = callPackage ../development/python-modules/jenkins-job-builder { };
|
||||
|
||||
dot2tex = buildPythonPackage rec {
|
||||
name = "dot2tex-2.9.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/d/dot2tex/dot2tex-2.9.0.tar.gz";
|
||||
sha256 = "7d3e54add7dccdaeb6cc9e61ceaf7b587914cf8ebd6821cfea008acdc1e50d4a";
|
||||
};
|
||||
|
||||
# Tests fail with 3.x. Furthermore, package is no longer maintained.
|
||||
disabled = isPy3k;
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
pyparsing
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Convert graphs generated by Graphviz to LaTeX friendly formats";
|
||||
homepage = "https://github.com/kjellmf/dot2tex";
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
dot2tex = callPackage ../development/python-modules/dot2tex { };
|
||||
|
||||
poezio = callPackage ../applications/networking/instant-messengers/poezio { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user