depot/third_party/nixpkgs/pkgs/development/python-modules/svg2tikz/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
616 B
Nix

{ stdenv
, buildPythonPackage
, fetchgit
, lxml
, isPy27
}:
buildPythonPackage {
pname = "svg2tikz";
version = "1.0.0";
disabled = ! isPy27;
propagatedBuildInputs = [ lxml ];
src = fetchgit {
url = "https://github.com/kjellmf/svg2tikz";
sha256 = "429428ec435e53672b85cdfbb89bb8af0ff9f8238f5d05970729e5177d252d5f";
rev = "ad36f2c3818da13c4136d70a0fd8153acf8daef4";
};
meta = with stdenv.lib; {
homepage = "https://github.com/kjellmf/svg2tikz";
description = "An SVG to TikZ converter";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ gal_bolle ];
};
}