Files
nixpkgs/pkgs/by-name/ge/genimage/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

47 lines
1002 B
Nix

{
lib,
stdenv,
fetchurl,
autoreconfHook,
pkg-config,
libconfuse,
gettext,
}:
stdenv.mkDerivation rec {
pname = "genimage";
version = "19";
src = fetchurl {
url = "https://public.pengutronix.de/software/genimage/genimage-${version}.tar.xz";
sha256 = "sha256-fsT8uGVmKosv8gKEgZBE/6hBN788oW+3SXASkbwB8Qg=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
libconfuse
gettext
];
postInstall = ''
# As there is no manpage or built-in --help, add the README file for
# documentation.
docdir="$out/share/doc/genimage"
mkdir -p "$docdir"
cp -v README.rst "$docdir"
'';
meta = with lib; {
broken = stdenv.hostPlatform.isDarwin;
homepage = "https://git.pengutronix.de/cgit/genimage";
description = "Generate filesystem images from directory trees";
license = licenses.gpl2Plus;
platforms = platforms.all;
maintainers = [ maintainers.bjornfor ];
mainProgram = "genimage";
};
}