0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00

distroshelf: init at 1.0.6 (#409649)

This commit is contained in:
Aleksana 2025-05-23 09:31:05 +08:00 committed by GitHub
commit d950d5c5eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,60 @@
{
lib,
stdenv,
fetchFromGitHub,
meson,
ninja,
wrapGAppsHook4,
desktop-file-utils,
rustPlatform,
cargo,
rustc,
pkg-config,
glib,
libadwaita,
nix-update-script,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "distroshelf";
version = "1.0.6";
src = fetchFromGitHub {
owner = "ranfdev";
repo = "DistroShelf";
tag = "v${finalAttrs.version}";
hash = "sha256-g+NHzz91DcdQE6KVr80ypt+IBz6w3Md27tocnKsm9b0=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) pname version src;
hash = "sha256-BoAECkZL9C23Mhvf3tDTvTdOLRwL81m3PBn4GeDNCB4=";
};
nativeBuildInputs = [
meson
ninja
wrapGAppsHook4
rustPlatform.cargoSetupHook
cargo
rustc
desktop-file-utils
pkg-config
];
buildInputs = [
glib
libadwaita
];
passthru.updateScript = nix-update-script { };
meta = {
homepage = "https://github.com/ranfdev/DistroShelf";
description = "GUI for Distrobox Containers";
mainProgram = "distroshelf";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ emaryn ];
};
})