94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
64 lines
1.1 KiB
Nix
64 lines
1.1 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cargo
|
|
, desktop-file-utils
|
|
, glib
|
|
, gtk4
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, rustPlatform
|
|
, rustc
|
|
, wrapGAppsHook4
|
|
, gtksourceview5
|
|
, libadwaita
|
|
, libpanel
|
|
, vte-gtk4
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pods";
|
|
version = "1.1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "marhkb";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-wZZBtvSMC83P38jzbZ1fX5f42WTPI68XGB1aG3gMYG0=";
|
|
};
|
|
|
|
cargoDeps = rustPlatform.importCargoLock {
|
|
lockFile = ./Cargo.lock;
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
desktop-file-utils
|
|
glib
|
|
gtk4
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
rustPlatform.cargoSetupHook
|
|
cargo
|
|
rustc
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk4
|
|
gtksourceview5
|
|
libadwaita
|
|
libpanel
|
|
vte-gtk4
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A podman desktop application";
|
|
homepage = "https://github.com/marhkb/pods";
|
|
changelog = "https://github.com/marhkb/pods/releases/tag/v${version}";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|