mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
genimage: init at 9
Genimage is a tool to generate filesystem images from directory trees.
This commit is contained in:
parent
ebd85b632a
commit
a1892edcee
29
pkgs/tools/filesystems/genimage/default.nix
Normal file
29
pkgs/tools/filesystems/genimage/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -1834,6 +1834,8 @@ in
|
||||
|
||||
gengetopt = callPackage ../development/tools/misc/gengetopt { };
|
||||
|
||||
genimage = callPackage ../tools/filesystems/genimage { };
|
||||
|
||||
geteltorito = callPackage ../tools/misc/geteltorito { };
|
||||
|
||||
getmail = callPackage ../tools/networking/getmail { };
|
||||
|
Loading…
Reference in New Issue
Block a user