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