electron_32: fix log spam when building on aarch64-linux (#378988)
[NixPkgs.git] / pkgs / by-name / em / emulsion-palette / package.nix
bloba55fde901ff6cea9a88cad56a205b07d6de11592
2   stdenv,
3   lib,
4   fetchFromGitHub,
5   meson,
6   ninja,
7   vala,
8   wrapGAppsHook4,
9   libadwaita,
10   json-glib,
11   libgee,
12   pkg-config,
13   gtk3,
14   desktop-file-utils,
17 stdenv.mkDerivation rec {
18   pname = "emulsion-palette";
19   version = "3.3.9";
21   src = fetchFromGitHub {
22     owner = "lainsce";
23     repo = "emulsion";
24     rev = version;
25     sha256 = "sha256-xG7yZKbbNao/pzFhdTMof/lw9K12NKZi47YRaEd65ok=";
26   };
28   nativeBuildInputs = [
29     meson
30     ninja
31     pkg-config
32     vala
33     wrapGAppsHook4
34   ];
36   buildInputs = [
37     desktop-file-utils
38     gtk3 # We're only using it for the gtk-update-icon-cache utility.
39     json-glib
40     libadwaita
41     libgee
42   ];
44   postFixup = ''
45     ln -s $out/bin/io.github.lainsce.Emulsion $out/bin/emulsion-palette
46   '';
48   meta = with lib; {
49     description = "Store your color palettes in an easy way";
50     homepage = "https://github.com/lainsce/emulsion";
51     license = licenses.gpl3Only;
52     platforms = platforms.linux;
53     maintainers = with maintainers; [ foo-dogsquared ];
54   };