Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 nix-update-script, 6 desktop-file-utils, 7 meson, 8 ninja, 9 pkg-config, 10 python3, 11 vala, 12 wrapGAppsHook3, 13 discount, 14 glib, 15 gtk3, 16 gtksourceview4, 17 gtkspell3, 18 libgee, 19 pantheon, 20 sqlite, 21 webkitgtk_4_0, 22}: 23 24stdenv.mkDerivation rec { 25 pname = "notes-up"; 26 version = "2.0.6"; 27 28 src = fetchFromGitHub { 29 owner = "Philip-Scott"; 30 repo = "Notes-up"; 31 rev = version; 32 sha256 = "sha256-t9BCtdWd2JLrKTcmri1Lgl5RLBYD2xWCtMxoVXz0XPk="; 33 }; 34 35 nativeBuildInputs = [ 36 desktop-file-utils 37 meson 38 ninja 39 pkg-config 40 python3 41 vala 42 wrapGAppsHook3 43 ]; 44 45 buildInputs = [ 46 discount 47 glib 48 gtk3 49 gtksourceview4 50 gtkspell3 51 libgee 52 pantheon.granite 53 sqlite 54 webkitgtk_4_0 55 ]; 56 57 postPatch = '' 58 chmod +x meson/post_install.py 59 patchShebangs meson/post_install.py 60 ''; 61 62 passthru = { 63 updateScript = nix-update-script { }; 64 }; 65 66 meta = with lib; { 67 description = "Markdown notes editor and manager designed for elementary OS"; 68 homepage = "https://github.com/Philip-Scott/Notes-up"; 69 license = licenses.gpl2Only; 70 teams = [ teams.pantheon ]; 71 platforms = platforms.linux; 72 mainProgram = "com.github.philip_scott.notes-up"; 73 }; 74}