2022-09-30 11:47:45 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, desktop-file-utils
|
|
|
|
, glib
|
|
|
|
, gtk4
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, rustPlatform
|
2022-10-21 18:38:19 +00:00
|
|
|
, wrapGAppsHook4
|
2022-09-30 11:47:45 +00:00
|
|
|
, gtksourceview5
|
|
|
|
, libadwaita
|
2022-11-27 09:42:12 +00:00
|
|
|
, libpanel
|
2022-12-17 10:02:37 +00:00
|
|
|
, vte-gtk4
|
2022-09-30 11:47:45 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pods";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "1.0.4";
|
2022-09-30 11:47:45 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "marhkb";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-02-02 18:25:31 +00:00
|
|
|
sha256 = "sha256-bBFy8yyEbMlVyJYOlWdffIlnZyVdRLPGebTN6bZmnBI=";
|
2022-09-30 11:47:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
|
|
|
inherit src;
|
|
|
|
name = "${pname}-${version}";
|
2023-02-02 18:25:31 +00:00
|
|
|
sha256 = "sha256-DV/XJgWRPK+7q7EVltiNRcRGjS9fvHrDKw+w3wNYitQ=";
|
2022-09-30 11:47:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
glib
|
|
|
|
gtk4
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
rustPlatform.cargoSetupHook
|
|
|
|
rustPlatform.rust.cargo
|
|
|
|
rustPlatform.rust.rustc
|
2022-10-21 18:38:19 +00:00
|
|
|
wrapGAppsHook4
|
2022-09-30 11:47:45 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk4
|
|
|
|
gtksourceview5
|
|
|
|
libadwaita
|
2022-11-27 09:42:12 +00:00
|
|
|
libpanel
|
2022-12-17 10:02:37 +00:00
|
|
|
vte-gtk4
|
2022-09-30 11:47:45 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A podman desktop application";
|
|
|
|
homepage = "https://github.com/marhkb/pods";
|
2023-02-02 18:25:31 +00:00
|
|
|
changelog = "https://github.com/marhkb/pods/releases/tag/v${version}";
|
2022-09-30 11:47:45 +00:00
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|