2022-09-18 14:25:35 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, cmake
|
2023-12-29 13:06:52 +00:00
|
|
|
, fetchFromGitHub
|
2022-09-18 14:25:35 +00:00
|
|
|
, pkg-config
|
|
|
|
, qtbase
|
|
|
|
, qtscript
|
|
|
|
, qtsvg
|
|
|
|
, substituteAll
|
|
|
|
, unzip
|
|
|
|
, wrapQtAppsHook
|
|
|
|
, zip
|
|
|
|
}:
|
2014-08-20 21:08:07 +00:00
|
|
|
|
2022-09-18 14:25:35 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "vym";
|
2023-12-29 13:21:05 +00:00
|
|
|
version = "2.9.26";
|
2014-08-20 21:08:07 +00:00
|
|
|
|
2022-09-18 14:25:35 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "insilmaril";
|
|
|
|
repo = "vym";
|
2023-12-29 13:06:52 +00:00
|
|
|
rev = "v${finalAttrs.version}";
|
2023-12-29 13:21:05 +00:00
|
|
|
hash = "sha256-5cHhv9GDjJvSqGJ+7fI0xaWCiXw/0WP0Bem/ZRV8Y7M=";
|
2014-08-20 21:08:07 +00:00
|
|
|
};
|
|
|
|
|
2023-12-29 13:06:52 +00:00
|
|
|
outputs = [ "out" "man" ];
|
|
|
|
|
2022-09-18 14:25:35 +00:00
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./000-fix-zip-paths.diff;
|
|
|
|
zipPath = "${zip}/bin/zip";
|
|
|
|
unzipPath = "${unzip}/bin/unzip";
|
|
|
|
})
|
2019-12-12 22:08:11 +00:00
|
|
|
];
|
|
|
|
|
2022-09-18 14:25:35 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
qtbase
|
|
|
|
qtscript
|
|
|
|
qtsvg
|
|
|
|
];
|
|
|
|
|
2023-12-29 13:06:52 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2022-09-18 14:25:35 +00:00
|
|
|
qtWrapperArgs = [
|
|
|
|
"--prefix PATH : ${lib.makeBinPath [ unzip zip ]}"
|
|
|
|
];
|
2019-12-12 22:08:11 +00:00
|
|
|
|
2023-12-29 13:06:52 +00:00
|
|
|
meta = {
|
2022-09-18 14:25:35 +00:00
|
|
|
homepage = "http://www.insilmaril.de/vym/";
|
2014-08-20 21:08:07 +00:00
|
|
|
description = "A mind-mapping software";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "vym";
|
2014-08-20 21:08:07 +00:00
|
|
|
longDescription = ''
|
2022-09-18 14:25:35 +00:00
|
|
|
VYM (View Your Mind) is a tool to generate and manipulate maps which show
|
|
|
|
your thoughts. Such maps can help you to improve your creativity and
|
|
|
|
effectivity. You can use them for time management, to organize tasks, to
|
|
|
|
get an overview over complex contexts, to sort your ideas etc.
|
|
|
|
|
|
|
|
Maps can be drawn by hand on paper or a flip chart and help to structure
|
|
|
|
your thoughs. While a tree like structure like shown on this page can be
|
|
|
|
drawn by hand or any drawing software vym offers much more features to
|
|
|
|
work with such maps.
|
2014-08-20 21:08:07 +00:00
|
|
|
'';
|
2023-12-29 13:06:52 +00:00
|
|
|
license = with lib.licenses; [ gpl2Plus ];
|
|
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
|
|
platforms = lib.platforms.linux;
|
2014-08-20 21:08:07 +00:00
|
|
|
};
|
2022-09-18 14:25:35 +00:00
|
|
|
})
|