2021-12-26 17:30:22 +00:00
|
|
|
{ lib
|
|
|
|
, blockdiag
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, nose
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, setuptools
|
|
|
|
}:
|
2017-07-19 09:59:47 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "actdiag";
|
2021-12-30 22:43:02 +00:00
|
|
|
version = "3.0.0";
|
2021-12-26 17:30:22 +00:00
|
|
|
format = "setuptools";
|
2017-07-19 09:59:47 +01:00
|
|
|
|
2021-12-26 17:30:22 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "blockdiag";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-12-30 22:43:02 +00:00
|
|
|
sha256 = "sha256-WmprkHOgvlsOIg8H77P7fzEqxGnj6xaL7Df7urRkg3o=";
|
2017-07-19 09:59:47 +01:00
|
|
|
};
|
|
|
|
|
2021-12-26 17:30:22 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
blockdiag
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
nose
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pytestFlagsArray = [
|
|
|
|
"src/actdiag/tests/"
|
|
|
|
];
|
2017-07-19 09:59:47 +01:00
|
|
|
|
2021-12-26 17:30:22 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"actdiag"
|
|
|
|
];
|
2017-07-19 09:59:47 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-07-19 09:59:47 +01:00
|
|
|
description = "Generate activity-diagram image from spec-text file (similar to Graphviz)";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://blockdiag.com/";
|
2017-07-19 09:59:47 +01:00
|
|
|
license = licenses.asl20;
|
2019-02-17 13:00:33 +00:00
|
|
|
platforms = platforms.unix;
|
2020-11-29 02:36:00 +00:00
|
|
|
maintainers = with maintainers; [ bjornfor SuperSandro2000 ];
|
2017-07-19 09:59:47 +01:00
|
|
|
};
|
|
|
|
}
|