2018-06-07 02:57:03 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libconfuse, gettext }:
|
2016-12-08 11:37:08 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "genimage-${version}";
|
|
|
|
version = "9";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://public.pengutronix.de/software/genimage/genimage-${version}.tar.xz";
|
|
|
|
sha256 = "0y4h8x8lqxam8m90rdfq8cg5137kvilxr3d1qzddpx7nxpvmmwv9";
|
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-06-07 02:57:03 +02:00
|
|
|
buildInputs = [ libconfuse gettext ];
|
2016-12-08 11:37:08 +01:00
|
|
|
|
|
|
|
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 "$docdir"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://git.pengutronix.de/cgit/genimage;
|
|
|
|
description = "Generate filesystem images from directory trees";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|