Files
nixpkgs/pkgs/by-name/po/popsicle/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

67 lines
1.3 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
cargo,
glib,
pkg-config,
rustc,
wrapGAppsHook3,
gdk-pixbuf,
gtk3,
versionCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "popsicle";
version = "1.3.3";
src = fetchFromGitHub {
owner = "pop-os";
repo = "popsicle";
tag = finalAttrs.version;
hash = "sha256-sWQNav7odvX+peDglLHd7Jrmvhm5ddFBLBla0WK7wcE=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) pname version src;
hash = "sha256-KWVX5eOewARccI+ukNfEn8Wc3He1lWXjm9E/Dl0LuM4=";
};
nativeBuildInputs = [
cargo
glib
pkg-config
rustPlatform.bindgenHook
rustPlatform.cargoSetupHook
rustc
wrapGAppsHook3
];
buildInputs = [
gdk-pixbuf
gtk3
];
makeFlags = [
"prefix=$(out)"
];
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
meta = {
description = "Multiple USB File Flasher";
homepage = "https://github.com/pop-os/popsicle";
changelog = "https://github.com/pop-os/popsicle/releases/tag/${finalAttrs.version}";
maintainers = with lib.maintainers; [
_13r0ck
figsoda
];
license = lib.licenses.mit;
platforms = lib.platforms.linux;
};
})