9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
67 lines
1.2 KiB
Nix
67 lines
1.2 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.2.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "marhkb";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-1NeIrEr6judTR5zHhhboUncx953hEjIl0qVaWkMVNiU=";
|
|
};
|
|
|
|
cargoDeps = rustPlatform.importCargoLock {
|
|
lockFile = ./Cargo.lock;
|
|
outputHashes = {
|
|
"podman-api-0.10.0" = "sha256-nbxK/U5G+PlbytpHdr63x/C69hBgedPXBFfgdzT9fdc=";
|
|
};
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|