nixos-config/pkgs/emulsion-palette.nix

43 lines
800 B
Nix
Raw Normal View History

{ stdenv
, lib
, fetchFromGitHub
, meson
, ninja
, vala
, wrapGAppsHook4
, libadwaita
, json-glib
, libgee
, pkg-config
, gtk3
, desktop-file-utils
}:
2022-02-28 02:11:15 +00:00
stdenv.mkDerivation rec {
pname = "emulsion-palette";
2022-07-16 08:38:04 +00:00
version = "3.3.9";
2022-02-28 02:11:15 +00:00
src = fetchFromGitHub {
owner = "lainsce";
2022-03-02 08:18:45 +00:00
repo = "emulsion";
2022-02-28 02:11:15 +00:00
rev = version;
2022-07-16 08:38:04 +00:00
sha256 = "sha256-xG7yZKbbNao/pzFhdTMof/lw9K12NKZi47YRaEd65ok=";
2022-02-28 02:11:15 +00:00
};
nativeBuildInputs = [ meson ninja pkg-config vala wrapGAppsHook4 ];
buildInputs = [
desktop-file-utils
gtk3 # We're only using it for the gtk-update-icon-cache utility.
json-glib
libadwaita
libgee
];
meta = with lib; {
description = "Store your color palettes in an easy way";
homepage = "https://github.com/lainsce/emulsion";
license = licenses.gpl3Only;
2022-02-28 02:11:15 +00:00
};
}