nixpkgs/pkgs/applications/misc/heimer/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

39 lines
766 B
Nix

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, qttools
, qtbase
}:
mkDerivation rec {
pname = "heimer";
version = "4.3.0";
src = fetchFromGitHub {
owner = "juzzlin";
repo = pname;
rev = version;
hash = "sha256-VIlNahpSRQNpfOKXnI/GQANuhZ+vnoXsudwHmRbHIjs=";
};
nativeBuildInputs = [
cmake
];
buildInputs = [
qttools
qtbase
];
meta = with lib; {
description = "Simple cross-platform mind map and note-taking tool written in Qt";
mainProgram = "heimer";
homepage = "https://github.com/juzzlin/Heimer";
changelog = "https://github.com/juzzlin/Heimer/blob/${version}/CHANGELOG";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dtzWill ];
platforms = platforms.linux;
};
}