Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 1.1 kB view raw
1{ lib 2, buildPythonPackage 3, docutils 4, fetchFromGitHub 5, funcparserlib 6, nose 7, pillow 8, ephem 9, pythonOlder 10, pytestCheckHook 11, reportlab 12, setuptools 13, webcolors 14, python 15}: 16 17buildPythonPackage rec { 18 pname = "blockdiag"; 19 version = "3.0.0"; 20 format = "setuptools"; 21 22 disabled = pythonOlder "3.7"; 23 24 src = fetchFromGitHub { 25 owner = "blockdiag"; 26 repo = "blockdiag"; 27 rev = version; 28 hash = "sha256-j8FoNUIJJOaahaol1MRPyY2jcPCEIlaAD4bmM2QKFFI="; 29 }; 30 31 propagatedBuildInputs = [ 32 setuptools 33 funcparserlib 34 pillow 35 webcolors 36 reportlab 37 docutils 38 ]; 39 40 nativeCheckInputs = [ 41 ephem 42 nose 43 pytestCheckHook 44 ]; 45 46 pytestFlagsArray = [ 47 "src/blockdiag/tests/" 48 ]; 49 50 disabledTests = [ 51 # Test require network access 52 "test_app_cleans_up_images" 53 ]; 54 55 pythonImportsCheck = [ 56 "blockdiag" 57 ]; 58 59 meta = with lib; { 60 description = "Generate block-diagram image from spec-text file (similar to Graphviz)"; 61 homepage = "http://blockdiag.com/"; 62 license = licenses.asl20; 63 platforms = platforms.unix; 64 maintainers = with maintainers; [ bjornfor SuperSandro2000 ]; 65 }; 66}