vscode-extensions.yoavbls.pretty-ts-errors: 0.5.4 -> 0.6.1 (#363464)
[NixPkgs.git] / pkgs / by-name / ey / eyedropper / package.nix
blob5c30bd8143329e1e3fcb2e7a06013efadc0fcf13
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   rustPlatform,
6   cargo,
7   pkg-config,
8   meson,
9   ninja,
10   blueprint-compiler,
11   glib,
12   gtk4,
13   libadwaita,
14   rustc,
15   wrapGAppsHook4,
16   appstream-glib,
17   desktop-file-utils,
18   nix-update-script,
21 stdenv.mkDerivation rec {
22   pname = "eyedropper";
23   version = "2.0.1";
25   src = fetchFromGitHub {
26     owner = "FineFindus";
27     repo = pname;
28     rev = "v${version}";
29     hash = "sha256-FyGj0180Wn8iIDTdDqnNEvFYegwdWCsCq+hmyTTUIo4=";
30   };
32   cargoDeps = rustPlatform.fetchCargoTarball {
33     inherit src;
34     name = "${pname}-${version}";
35     hash = "sha256-jXo7Aq+pXWySe6MyH9GCTQVNwbboER7RwJe6Asqbxxc=";
36   };
38   nativeBuildInputs = [
39     meson
40     ninja
41     pkg-config
42     blueprint-compiler
43     wrapGAppsHook4
44     appstream-glib
45     desktop-file-utils
46     cargo
47     rustc
48     rustPlatform.cargoSetupHook
49   ];
51   buildInputs = [
52     glib
53     gtk4
54     libadwaita
55   ];
57   passthru = {
58     updateScript = nix-update-script { };
59   };
61   meta = {
62     description = "Pick and format colors";
63     homepage = "https://github.com/FineFindus/eyedropper";
64     mainProgram = "eyedropper";
65     license = lib.licenses.gpl3Plus;
66     platforms = lib.platforms.linux;
67     maintainers = with lib.maintainers; [ zendo ] ++ lib.teams.gnome-circle.members;
68   };