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

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

64 lines
1.1 KiB
Nix
Raw Normal View History

2022-09-28 16:15:28 +00:00
{ lib
, stdenv
, fetchFromGitHub
, desktop-file-utils
, glib
, gtk4
, meson
, ninja
, pkg-config
, rustPlatform
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";
version = "1.0.2";
2022-09-28 16:15:28 +00:00
src = fetchFromGitHub {
owner = "marhkb";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Kjonyd0xL0QLjPS+U3xDC6AhOOxQmVAZ3STLXaa8eXc=";
2022-09-28 16:15:28 +00:00
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
sha256 = "sha256-K5oOpo3xJiNg7F549JLGs83658MYcoGfuIcNoF88Njc=";
2022-09-28 16:15:28 +00:00
};
nativeBuildInputs = [
desktop-file-utils
glib
gtk4
meson
ninja
pkg-config
rustPlatform.cargoSetupHook
rustPlatform.rust.cargo
rustPlatform.rust.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";
license = licenses.gpl3Only;
maintainers = with maintainers; [ figsoda ];
platforms = platforms.linux;
};
}