2022-09-28 16:15:28 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
2023-05-12 14:17:16 +00:00
|
|
|
, cargo
|
2022-09-28 16:15:28 +00:00
|
|
|
, desktop-file-utils
|
|
|
|
, glib
|
|
|
|
, gtk4
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, rustPlatform
|
2023-05-12 14:17:16 +00:00
|
|
|
, rustc
|
2022-10-09 17:32:40 +00:00
|
|
|
, wrapGAppsHook4
|
2022-09-28 16:15:28 +00:00
|
|
|
, gtksourceview5
|
|
|
|
, libadwaita
|
2022-11-22 23:17:37 +00:00
|
|
|
, libpanel
|
2022-12-05 22:25:19 +00:00
|
|
|
, vte-gtk4
|
2022-09-28 16:15:28 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pods";
|
2023-11-29 01:47:44 +00:00
|
|
|
version = "2.0.0";
|
2022-09-28 16:15:28 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "marhkb";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-11-29 01:47:44 +00:00
|
|
|
sha256 = "sha256-jSN4WmyzYARhDkwAtTYD4iXNTM1QQbAAwQ/ICHg7k3k=";
|
2022-09-28 16:15:28 +00:00
|
|
|
};
|
|
|
|
|
2023-03-25 23:16:46 +00:00
|
|
|
cargoDeps = rustPlatform.importCargoLock {
|
|
|
|
lockFile = ./Cargo.lock;
|
2023-05-25 22:21:18 +00:00
|
|
|
outputHashes = {
|
2023-11-29 01:47:44 +00:00
|
|
|
"ashpd-0.6.0" = "sha256-kLacOwMZ4MQlFYCx5J4kI4J+a9fVRF5Ii/AkWOL/TNQ=";
|
|
|
|
"cairo-rs-0.19.0" = "sha256-8s+ngacR7d2wb1FKYf0pycxMQbgW63zMKpMgaUs2e+c=";
|
|
|
|
"gdk4-0.8.0" = "sha256-o9HC4VX6ntPk0JXAX5Whhu0qlUdpPky/1PNrRd9zjdk=";
|
|
|
|
"libadwaita-0.6.0" = "sha256-3Kge7SIE+vex/uOIt7hjmU68jidkBjrW96o24hu3e/U=";
|
|
|
|
"libpanel-0.3.0" = "sha256-LA8ynd+7imEdQwvLslmKw+pPNbAEle9fZ2sFuyRY/jU=";
|
2023-07-14 13:45:10 +00:00
|
|
|
"podman-api-0.10.0" = "sha256-nbxK/U5G+PlbytpHdr63x/C69hBgedPXBFfgdzT9fdc=";
|
2023-11-29 01:47:44 +00:00
|
|
|
"sourceview5-0.8.0" = "sha256-+f+mm682H4eRC7Xzx5wukecDZq+hMpJQ3+3xHzG00Go=";
|
|
|
|
"vte4-0.8.0" = "sha256-KZBpfSAngbp5czAXdKA7Au5uYqs2L5MyNsnXcBH77lo=";
|
2023-05-25 22:21:18 +00:00
|
|
|
};
|
2022-09-28 16:15:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
glib
|
|
|
|
gtk4
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
rustPlatform.cargoSetupHook
|
2023-05-12 14:17:16 +00:00
|
|
|
cargo
|
|
|
|
rustc
|
2022-10-09 17:32:40 +00:00
|
|
|
wrapGAppsHook4
|
2022-09-28 16:15:28 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk4
|
|
|
|
gtksourceview5
|
|
|
|
libadwaita
|
2022-11-22 23:17:37 +00:00
|
|
|
libpanel
|
2022-12-05 22:25:19 +00:00
|
|
|
vte-gtk4
|
2022-09-28 16:15:28 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A podman desktop application";
|
|
|
|
homepage = "https://github.com/marhkb/pods";
|
2023-02-01 23:26:54 +00:00
|
|
|
changelog = "https://github.com/marhkb/pods/releases/tag/v${version}";
|
2022-09-28 16:15:28 +00:00
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ figsoda ];
|
|
|
|
platforms = platforms.linux;
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "pods";
|
2022-09-28 16:15:28 +00:00
|
|
|
};
|
|
|
|
}
|