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