mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
d168fec9cf
Diff: https://github.com/marhkb/pods/compare/v1.0.5...v1.0.6 Changelog: https://github.com/marhkb/pods/releases/tag/v1.0.6
65 lines
1.2 KiB
Nix
65 lines
1.2 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, desktop-file-utils
|
|
, glib
|
|
, gtk4
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, rustPlatform
|
|
, wrapGAppsHook4
|
|
, gtksourceview5
|
|
, libadwaita
|
|
, libpanel
|
|
, vte-gtk4
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pods";
|
|
version = "1.0.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "marhkb";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-ZryzNlEj/2JTp5FJiDzXN9v1DvczfebqEOrJP+dKaRw=";
|
|
};
|
|
|
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
|
inherit src;
|
|
name = "${pname}-${version}";
|
|
sha256 = "sha256-OgvlRnii4T4HcFPiGkcLcagyHCg+lWXCXQ9XdXjHDbQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
desktop-file-utils
|
|
glib
|
|
gtk4
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
rustPlatform.cargoSetupHook
|
|
rustPlatform.rust.cargo
|
|
rustPlatform.rust.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;
|
|
};
|
|
}
|