python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / applications / graphics / ideogram / default.nix
blob9c854d9ffbf386324e4c63576126bf5234b5834e
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
18 stdenv.mkDerivation rec {
19   pname = "ideogram";
20   version = "1.3.3";
22   src = fetchFromGitHub {
23     owner = "cassidyjames";
24     repo = pname;
25     rev = version;
26     sha256 = "1zkr7x022khn5g3sq2dkxzy1hiiz66vl81s3i5sb9qr88znh79p1";
27   };
29   nativeBuildInputs = [
30     desktop-file-utils
31     meson
32     ninja
33     vala
34     pkg-config
35     python3
36     wrapGAppsHook
37   ];
39   buildInputs = [
40     glib
41     gtk3
42     libgee
43     pantheon.granite
44     xorg.libX11
45     xorg.libXtst
46   ];
48   postPatch = ''
49     chmod +x meson/post_install.py
50     patchShebangs meson/post_install.py
51   '';
53   passthru = {
54     updateScript = nix-update-script {
55       attrPath = pname;
56     };
57   };
59   meta = with lib; {
60     description = "Insert emoji anywhere, even in non-native apps - designed for elementary OS";
61     homepage = "https://github.com/cassidyjames/ideogram";
62     license = licenses.gpl2Plus;
63     maintainers = teams.pantheon.members;
64     platforms = platforms.linux;
65     mainProgram = "com.github.cassidyjames.ideogram";
66   };