eyedropper: 1.0.0 -> 2.0.1

This commit is contained in:
zendo 2024-09-21 22:54:42 +08:00
parent 0927ff824c
commit 09b4aa1dce

View File

@ -1,36 +1,37 @@
{ lib {
, stdenv lib,
, fetchFromGitHub stdenv,
, rustPlatform fetchFromGitHub,
, cargo rustPlatform,
, pkg-config cargo,
, meson pkg-config,
, ninja meson,
, blueprint-compiler ninja,
, glib blueprint-compiler,
, gtk4 glib,
, libadwaita gtk4,
, rustc libadwaita,
, wrapGAppsHook4 rustc,
, appstream-glib wrapGAppsHook4,
, desktop-file-utils appstream-glib,
desktop-file-utils,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "eyedropper"; pname = "eyedropper";
version = "1.0.0"; version = "2.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "FineFindus"; owner = "FineFindus";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-PStQC9n+DTTOiNO9fHUjIkwgvKeA2alVbtX5qfqhTYo="; hash = "sha256-FyGj0180Wn8iIDTdDqnNEvFYegwdWCsCq+hmyTTUIo4=";
}; };
cargoDeps = rustPlatform.fetchCargoTarball { cargoDeps = rustPlatform.fetchCargoTarball {
inherit src; inherit src;
name = "${pname}-${version}"; name = "${pname}-${version}";
hash = "sha256-WRjoyIoVvOYcw2i/cMycE67iziZ8dvQrZ3EfE2v2jkQ="; hash = "sha256-jXo7Aq+pXWySe6MyH9GCTQVNwbboER7RwJe6Asqbxxc=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -52,12 +53,12 @@ stdenv.mkDerivation rec {
libadwaita libadwaita
]; ];
meta = with lib; { meta = {
description = "Pick and format colors"; description = "Pick and format colors";
mainProgram = "eyedropper";
homepage = "https://github.com/FineFindus/eyedropper"; homepage = "https://github.com/FineFindus/eyedropper";
license = licenses.gpl3Plus; mainProgram = "eyedropper";
platforms = platforms.linux; license = lib.licenses.gpl3Plus;
maintainers = with maintainers; [ zendo ]; platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ zendo ];
}; };
} }