nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 mkDerivation,
4 fetchFromGitHub,
5 cmake,
6 qttools,
7 qtbase,
8}:
9
10mkDerivation rec {
11 pname = "heimer";
12 version = "4.5.0";
13
14 src = fetchFromGitHub {
15 owner = "juzzlin";
16 repo = pname;
17 rev = version;
18 hash = "sha256-eKnGCYxC3b7qd/g2IMDyZveBg+jvFA9s3tWEGeTPSkU=";
19 };
20
21 nativeBuildInputs = [
22 cmake
23 ];
24
25 buildInputs = [
26 qttools
27 qtbase
28 ];
29
30 meta = {
31 description = "Simple cross-platform mind map and note-taking tool written in Qt";
32 mainProgram = "heimer";
33 homepage = "https://github.com/juzzlin/Heimer";
34 changelog = "https://github.com/juzzlin/Heimer/blob/${version}/CHANGELOG";
35 license = lib.licenses.gpl3Plus;
36 maintainers = with lib.maintainers; [ ];
37 platforms = lib.platforms.linux;
38 };
39}