Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / virtualization / pods / default.nix
blob1e50f157adcf4516e7d0ad8c9a2b8134a5ca6d69
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , cargo
5 , desktop-file-utils
6 , glib
7 , gtk4
8 , meson
9 , ninja
10 , pkg-config
11 , rustPlatform
12 , rustc
13 , wrapGAppsHook4
14 , gtksourceview5
15 , libadwaita
16 , libpanel
17 , vte-gtk4
20 stdenv.mkDerivation rec {
21   pname = "pods";
22   version = "1.2.3";
24   src = fetchFromGitHub {
25     owner = "marhkb";
26     repo = pname;
27     rev = "v${version}";
28     sha256 = "sha256-1NeIrEr6judTR5zHhhboUncx953hEjIl0qVaWkMVNiU=";
29   };
31   cargoDeps = rustPlatform.importCargoLock {
32     lockFile = ./Cargo.lock;
33     outputHashes = {
34       "podman-api-0.10.0" = "sha256-nbxK/U5G+PlbytpHdr63x/C69hBgedPXBFfgdzT9fdc=";
35     };
36   };
38   nativeBuildInputs = [
39     desktop-file-utils
40     glib
41     gtk4
42     meson
43     ninja
44     pkg-config
45     rustPlatform.cargoSetupHook
46     cargo
47     rustc
48     wrapGAppsHook4
49   ];
51   buildInputs = [
52     gtk4
53     gtksourceview5
54     libadwaita
55     libpanel
56     vte-gtk4
57   ];
59   meta = with lib; {
60     description = "A podman desktop application";
61     homepage = "https://github.com/marhkb/pods";
62     changelog = "https://github.com/marhkb/pods/releases/tag/v${version}";
63     license = licenses.gpl3Only;
64     maintainers = with maintainers; [ figsoda ];
65     platforms = platforms.linux;
66   };