nixpkgs/pkgs/applications/virtualization/pods/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

76 lines
1.7 KiB
Nix
Raw Normal View History

2022-09-28 16:15:28 +00:00
{ lib
, stdenv
, fetchFromGitHub
, cargo
2022-09-28 16:15:28 +00:00
, desktop-file-utils
, glib
, gtk4
, meson
, ninja
, pkg-config
, rustPlatform
, 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
, 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
};
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
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=";
"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=";
};
2022-09-28 16:15:28 +00:00
};
nativeBuildInputs = [
desktop-file-utils
glib
gtk4
meson
ninja
pkg-config
rustPlatform.cargoSetupHook
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
vte-gtk4
2022-09-28 16:15:28 +00:00
];
meta = with lib; {
description = "A podman desktop application";
homepage = "https://github.com/marhkb/pods";
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
};
}