{ lib , stdenv , fetchFromGitHub , rustPlatform , cargo , pkg-config , meson , ninja , glib , gtk4 , libadwaita , rustc , wrapGAppsHook4 , appstream-glib , desktop-file-utils }: stdenv.mkDerivation rec { pname = "eyedropper"; version = "0.5.1"; src = fetchFromGitHub { owner = "FineFindus"; repo = pname; rev = "v${version}"; hash = "sha256-kc/UREQpmw3suA6bYEr9fCIwMzNMrEY9E5qf+rhKsC4="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; hash = "sha256-/eas1PObrj9IuDIzlBVbfhEhH8eDyZ7CD871JmAqnyY="; }; nativeBuildInputs = [ meson ninja pkg-config wrapGAppsHook4 appstream-glib desktop-file-utils cargo rustc rustPlatform.cargoSetupHook ]; buildInputs = [ glib gtk4 libadwaita ]; meta = with lib; { description = "A powerful color picker and formatter"; homepage = "https://github.com/FineFindus/eyedropper"; license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = with maintainers; [ zendo ]; }; }