about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/svg2tikz/default.nix
blob: c15e88ebeb249588dba02267b4f601ad34e0da12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib
, buildPythonPackage
, fetchFromGitHub
, lxml
, isPy27
}:

buildPythonPackage {
  pname = "svg2tikz";
  version = "1.0.0";
  disabled = ! isPy27;

  propagatedBuildInputs = [ lxml ];

  src = fetchFromGitHub {
    owner = "kjellmf";
    repo = "svg2tikz";
    rev = "ad36f2c3818da13c4136d70a0fd8153acf8daef4";
    sha256 = "sha256-QpQo7ENeU2crhc37uJu4rw/5+COPXQWXBynlF30lLV8=";
    fetchSubmodules = true;
  };

  meta = with lib; {
    homepage = "https://github.com/kjellmf/svg2tikz";
    description = "An SVG to TikZ converter";
    license = licenses.gpl2Plus;
    maintainers =  with maintainers; [ gal_bolle ];
  };

}