2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2019-08-04 11:42:17 +00:00
|
|
|
, fetchFromGitHub
|
2020-07-29 16:33:39 +00:00
|
|
|
, nix-update-script
|
2019-10-10 02:47:37 +00:00
|
|
|
, vala
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-08-04 11:42:17 +00:00
|
|
|
, python3
|
|
|
|
, glib
|
|
|
|
, gtk3
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, libgee
|
|
|
|
, pantheon
|
|
|
|
, desktop-file-utils
|
|
|
|
, xorg
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ideogram";
|
2020-03-01 14:26:11 +00:00
|
|
|
version = "1.3.3";
|
2019-08-04 11:42:17 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cassidyjames";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-03-01 14:26:11 +00:00
|
|
|
sha256 = "1zkr7x022khn5g3sq2dkxzy1hiiz66vl81s3i5sb9qr88znh79p1";
|
2019-08-04 11:42:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
2019-10-10 02:47:37 +00:00
|
|
|
vala
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-08-04 11:42:17 +00:00
|
|
|
python3
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
libgee
|
|
|
|
pantheon.granite
|
|
|
|
xorg.libX11
|
|
|
|
xorg.libXtst
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
|
|
|
|
2019-12-22 23:19:30 +00:00
|
|
|
passthru = {
|
2022-12-25 22:11:14 +00:00
|
|
|
updateScript = nix-update-script { };
|
2019-12-22 23:19:30 +00:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-08-04 11:42:17 +00:00
|
|
|
description = "Insert emoji anywhere, even in non-native apps - designed for elementary OS";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/cassidyjames/ideogram";
|
2019-08-04 11:42:17 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2021-09-18 15:00:51 +00:00
|
|
|
maintainers = teams.pantheon.members;
|
2019-08-04 11:42:17 +00:00
|
|
|
platforms = platforms.linux;
|
2021-11-03 10:27:38 +00:00
|
|
|
mainProgram = "com.github.cassidyjames.ideogram";
|
2019-08-04 11:42:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|