diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2016-12-08 11:37:08 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2016-12-14 17:44:05 +0100 |
commit | a1892edcee7da13fb4dda1a2e6fc22b9d904671b (patch) | |
tree | 59633b08f0dac2e419e30476744c62cf19674996 /pkgs/tools/filesystems/genimage | |
parent | ebd85b632af4992307111b400143820802b494c6 (diff) |
genimage: init at 9
Genimage is a tool to generate filesystem images from directory trees.
Diffstat (limited to 'pkgs/tools/filesystems/genimage')
-rw-r--r-- | pkgs/tools/filesystems/genimage/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/genimage/default.nix b/pkgs/tools/filesystems/genimage/default.nix new file mode 100644 index 0000000000000..b808573aa5b87 --- /dev/null +++ b/pkgs/tools/filesystems/genimage/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchurl, pkgconfig, libconfuse }: + +stdenv.mkDerivation rec { + name = "genimage-${version}"; + version = "9"; + + src = fetchurl { + url = "http://public.pengutronix.de/software/genimage/genimage-${version}.tar.xz"; + sha256 = "0y4h8x8lqxam8m90rdfq8cg5137kvilxr3d1qzddpx7nxpvmmwv9"; + }; + + buildInputs = [ pkgconfig libconfuse ]; + + 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 ]; + }; +} |