Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv 2, fetchFromGitHub 3, nix-update-script 4, vala 5, pkg-config 6, python3 7, glib 8, gtk3 9, meson 10, ninja 11, libgee 12, pantheon 13, desktop-file-utils 14, xorg 15, wrapGAppsHook 16}: 17 18stdenv.mkDerivation rec { 19 pname = "ideogram"; 20 version = "1.3.3"; 21 22 src = fetchFromGitHub { 23 owner = "cassidyjames"; 24 repo = pname; 25 rev = version; 26 sha256 = "1zkr7x022khn5g3sq2dkxzy1hiiz66vl81s3i5sb9qr88znh79p1"; 27 }; 28 29 nativeBuildInputs = [ 30 desktop-file-utils 31 meson 32 ninja 33 vala 34 pkg-config 35 python3 36 wrapGAppsHook 37 ]; 38 39 buildInputs = [ 40 glib 41 gtk3 42 libgee 43 pantheon.granite 44 xorg.libX11 45 xorg.libXtst 46 ]; 47 48 postPatch = '' 49 chmod +x meson/post_install.py 50 patchShebangs meson/post_install.py 51 ''; 52 53 passthru = { 54 updateScript = nix-update-script { }; 55 }; 56 57 meta = with lib; { 58 description = "Insert emoji anywhere, even in non-native apps - designed for elementary OS"; 59 homepage = "https://github.com/cassidyjames/ideogram"; 60 license = licenses.gpl2Plus; 61 maintainers = teams.pantheon.members; 62 platforms = platforms.linux; 63 mainProgram = "com.github.cassidyjames.ideogram"; 64 }; 65 66}