nixpkgs/pkgs/by-name/vy/vym/package.nix
Anderson Torres cab2a1296e
treewide: remove AndersonTorres from maintainers
As I said before, I want to keep a narrow focus on Nixpkgs. Now that I am back
at undergrad, this focus should be even narrower: I will keep my eyes on Emacs,
and nothing else.
2025-02-12 00:36:02 -03:00

87 lines
1.7 KiB
Nix

{
lib,
cmake,
fetchFromGitHub,
pkg-config,
qt5,
stdenv,
replaceVars,
unzip,
zip,
}:
let
inherit (qt5)
qtbase
qtscript
qtsvg
wrapQtAppsHook
;
in
stdenv.mkDerivation (finalAttrs: {
pname = "vym";
version = "2.9.26";
src = fetchFromGitHub {
owner = "insilmaril";
repo = "vym";
rev = "v${finalAttrs.version}";
hash = "sha256-5cHhv9GDjJvSqGJ+7fI0xaWCiXw/0WP0Bem/ZRV8Y7M=";
};
outputs = [
"out"
"man"
];
patches = [
(replaceVars ./patches/0000-fix-zip-paths.diff {
zipPath = "${lib.getExe zip}";
unzipPath = "${lib.getExe unzip}";
})
];
nativeBuildInputs = [
cmake
pkg-config
wrapQtAppsHook
];
buildInputs = [
qtbase
qtscript
qtsvg
];
qtWrapperArgs = [
"--prefix PATH : ${
lib.makeBinPath [
unzip
zip
]
}"
];
strictDeps = true;
meta = {
homepage = "http://www.insilmaril.de/vym/";
description = "Mind-mapping software";
longDescription = ''
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.
'';
license = with lib.licenses; [ gpl2Plus ];
mainProgram = "vym";
maintainers = with lib.maintainers; [ ];
platforms = lib.platforms.linux;
};
})