2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2019-08-04 12:42:17 +01:00
|
|
|
, fetchFromGitHub
|
2020-07-29 17:33:39 +01:00
|
|
|
, nix-update-script
|
2019-08-07 17:22:55 +01:00
|
|
|
, fetchpatch
|
2019-10-10 03:47:37 +01:00
|
|
|
, vala
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-08-04 12:42:17 +01: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 12:42:17 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cassidyjames";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-03-01 14:26:11 +00:00
|
|
|
sha256 = "1zkr7x022khn5g3sq2dkxzy1hiiz66vl81s3i5sb9qr88znh79p1";
|
2019-08-04 12:42:17 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
2019-10-10 03:47:37 +01:00
|
|
|
vala
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-08-04 12:42:17 +01: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 = {
|
2020-07-29 17:33:39 +01:00
|
|
|
updateScript = nix-update-script {
|
2019-12-22 23:19:30 +00:00
|
|
|
attrPath = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-08-04 12:42:17 +01:00
|
|
|
description = "Insert emoji anywhere, even in non-native apps - designed for elementary OS";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/cassidyjames/ideogram";
|
2019-08-04 12:42:17 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2021-09-18 16:00:51 +01:00
|
|
|
maintainers = teams.pantheon.members;
|
2019-08-04 12:42:17 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|