1{
2 buildPythonPackage,
3 fetchFromGitHub,
4 lib,
5 # Runtime dependencies
6 httplib2,
7 six,
8}:
9
10buildPythonPackage {
11 pname = "plantuml";
12 version = "0.3.0";
13 format = "setuptools";
14
15 src = fetchFromGitHub {
16 owner = "dougn";
17 repo = "python-plantuml";
18 rev = "93e1aac25b17d896b0d05d0a1aa352c7bd11dd31";
19 hash = "sha256-aPXPqoKlu8VLi0Jn84brG7v3qM9L18Ut4sabYYGb3qQ=";
20 };
21
22 propagatedBuildInputs = [
23 httplib2
24 six
25 ];
26
27 # Project does not contain a test suite
28 doCheck = false;
29
30 pythonImportsCheck = [ "plantuml" ];
31
32 meta = with lib; {
33 description = "Python interface to a plantuml web service instead of having to run java locally";
34 homepage = "https://github.com/dougn/python-plantuml";
35 license = licenses.bsd2;
36 maintainers = with maintainers; [ nikstur ];
37 };
38}