nixpkgs/pkgs/applications/misc/vym/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

70 lines
1.6 KiB
Nix
Raw Normal View History

2022-09-18 14:25:35 +00:00
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, qmake
, qtbase
, qtscript
, qtsvg
, substituteAll
, unzip
, wrapQtAppsHook
, zip
}:
2022-09-18 14:25:35 +00:00
stdenv.mkDerivation (finalAttrs: {
pname = "vym";
2022-09-18 14:25:35 +00:00
version = "2.8.42";
2022-09-18 14:25:35 +00:00
src = fetchFromGitHub {
owner = "insilmaril";
repo = "vym";
rev = "89f50bcba953c410caf459b0a4bfbd09018010b7"; # not tagged yet (why??)
hash = "sha256-xMXvc8gt3nfKWbU+WoS24wCUTGDQRhG0Q9m7yDhY5/w=";
};
2022-09-18 14:25:35 +00:00
patches = [
(substituteAll {
src = ./000-fix-zip-paths.diff;
zipPath = "${zip}/bin/zip";
unzipPath = "${unzip}/bin/unzip";
})
];
2022-09-18 14:25:35 +00:00
nativeBuildInputs = [
cmake
pkg-config
wrapQtAppsHook
];
buildInputs = [
qtbase
qtscript
qtsvg
];
qtWrapperArgs = [
"--prefix PATH : ${lib.makeBinPath [ unzip zip ]}"
];
meta = with lib; {
2022-09-18 14:25:35 +00:00
homepage = "http://www.insilmaril.de/vym/";
description = "A mind-mapping software";
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.
'';
2022-09-18 14:25:35 +00:00
license = licenses.gpl2Plus;
2014-09-26 21:44:29 +00:00
maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.linux;
};
2022-09-18 14:25:35 +00:00
})