python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / applications / graphics / eyedropper / default.nix
blob32098c977044f2ed1fea34dbad5cc188cba08eeb
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , rustPlatform
5 , pkg-config
6 , meson
7 , ninja
8 , glib
9 , gtk4
10 , libadwaita
11 , wrapGAppsHook4
12 , appstream-glib
13 , desktop-file-utils
16 stdenv.mkDerivation rec {
17   pname = "eyedropper";
18   version = "0.4.0";
20   src = fetchFromGitHub {
21     owner = "FineFindus";
22     repo = pname;
23     rev = version;
24     hash = "sha256-bOpwHaFOoUlh+yyC1go6BeFxfJhUmwZPi6kYAqCagEI=";
25   };
27   cargoDeps = rustPlatform.fetchCargoTarball {
28     inherit src;
29     name = "${pname}-${version}";
30     hash = "sha256-TkdOq+icU2zNbXzN6nbkXjL1o/Lfumqr/5S0pQaxY5Q=";
31   };
33   nativeBuildInputs = [
34     meson
35     ninja
36     pkg-config
37     wrapGAppsHook4
38     appstream-glib
39     desktop-file-utils
40   ] ++ (with rustPlatform; [
41     rust.cargo
42     rust.rustc
43     cargoSetupHook
44   ]);
46   buildInputs = [
47     glib
48     gtk4
49     libadwaita
50   ];
52   meta = with lib; {
53     description = "An easy-to-use color picker and editor";
54     homepage = "https://github.com/FineFindus/eyedropper";
55     license = licenses.gpl3Plus;
56     platforms = platforms.linux;
57     maintainers = with maintainers; [ zendo ];
58   };