Merge pull request #190589 from zendo/eyedropper

eyedropper: init at 0.2.0
This commit is contained in:
Jonas Heinrich 2022-09-10 11:50:56 +02:00 committed by GitHub
commit a128f2b7ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 61 additions and 0 deletions

View File

@ -0,0 +1,59 @@
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, pkg-config
, meson
, ninja
, glib
, gtk4
, libadwaita
, wrapGAppsHook4
, appstream-glib
, desktop-file-utils
}:
stdenv.mkDerivation rec {
pname = "eyedropper";
version = "0.2.0";
src = fetchFromGitHub {
owner = "FineFindus";
repo = pname;
rev = "v${version}";
hash = "sha256-xyvnnWts+VuUFlV/o1cGOM7482ReiHVsn+AfdExYBTM=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-8G1fJ5YiUAzMqDoIjWGDTvtPw8chkxPrOz/c9WZRbhM=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
wrapGAppsHook4
appstream-glib
desktop-file-utils
] ++ (with rustPlatform; [
rust.cargo
rust.rustc
cargoSetupHook
]);
buildInputs = [
glib
gtk4
libadwaita
];
meta = with lib; {
description = "An easy-to-use color picker and editor";
homepage = "https://github.com/FineFindus/eyedropper";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ zendo ];
};
}

View File

@ -5177,6 +5177,8 @@ with pkgs;
evdevremapkeys = callPackage ../tools/inputmethods/evdevremapkeys { };
eyedropper = callPackage ../applications/graphics/eyedropper { };
persistent-evdev = python3Packages.callPackage ../servers/persistent-evdev { };
evscript = callPackage ../tools/inputmethods/evscript { };