1 { lib, stdenv, fetchurl, autoreconfHook, pkg-config, libconfuse, gettext }:
3 stdenv.mkDerivation rec {
8 url = "https://public.pengutronix.de/software/genimage/genimage-${version}.tar.xz";
9 sha256 = "sha256-68P4hsTYAGTdbG1ePC6Y5aZwB4JkEIzi+Jraii4T/t0=";
12 nativeBuildInputs = [ autoreconfHook pkg-config ];
13 buildInputs = [ libconfuse gettext ];
16 # As there is no manpage or built-in --help, add the README file for
18 docdir="$out/share/doc/genimage"
20 cp -v README.rst "$docdir"
24 broken = stdenv.hostPlatform.isDarwin;
25 homepage = "https://git.pengutronix.de/cgit/genimage";
26 description = "Generate filesystem images from directory trees";
27 license = licenses.gpl2Plus;
28 platforms = platforms.all;
29 maintainers = [ maintainers.bjornfor ];
30 mainProgram = "genimage";