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