a71eb02b76
GitOrigin-RevId: a115bb9bd56831941be3776c8a94005867f316a7
61 lines
1.1 KiB
Nix
61 lines
1.1 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, desktop-file-utils
|
|
, glib
|
|
, gtk4
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, rustPlatform
|
|
, wrapGAppsHook4
|
|
, gtksourceview5
|
|
, libadwaita
|
|
, libpanel
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pods";
|
|
version = "1.0.0-beta.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "marhkb";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-WLjXeTtg5DlZbENWYC6lHj6ccU1HGLN+v7xl5sXXvE0=";
|
|
};
|
|
|
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
|
inherit src;
|
|
name = "${pname}-${version}";
|
|
sha256 = "sha256-/Z0vp9Fn49+PhXwtt4Z0on4CghU1Hnu4gWcjzAWeCFk=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
desktop-file-utils
|
|
glib
|
|
gtk4
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
rustPlatform.cargoSetupHook
|
|
rustPlatform.rust.cargo
|
|
rustPlatform.rust.rustc
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk4
|
|
gtksourceview5
|
|
libadwaita
|
|
libpanel
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A podman desktop application";
|
|
homepage = "https://github.com/marhkb/pods";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|