Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 911 B view raw
1{ lib 2, blockdiag 3, buildPythonPackage 4, fetchFromGitHub 5, nose 6, pytestCheckHook 7, pythonOlder 8, setuptools 9}: 10 11buildPythonPackage rec { 12 pname = "actdiag"; 13 version = "3.0.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "blockdiag"; 20 repo = pname; 21 rev = version; 22 hash = "sha256-WmprkHOgvlsOIg8H77P7fzEqxGnj6xaL7Df7urRkg3o="; 23 }; 24 25 propagatedBuildInputs = [ 26 blockdiag 27 setuptools 28 ]; 29 30 nativeCheckInputs = [ 31 nose 32 pytestCheckHook 33 ]; 34 35 pytestFlagsArray = [ 36 "src/actdiag/tests/" 37 ]; 38 39 pythonImportsCheck = [ 40 "actdiag" 41 ]; 42 43 meta = with lib; { 44 description = "Generate activity-diagram image from spec-text file (similar to Graphviz)"; 45 homepage = "http://blockdiag.com/"; 46 license = licenses.asl20; 47 platforms = platforms.unix; 48 maintainers = with maintainers; [ bjornfor SuperSandro2000 ]; 49 }; 50}