3
0
Fork 0
forked from mirrors/nixpkgs

ldmtool: init at 0.2.4 (#43975)

This commit is contained in:
Jens Binkert 2018-08-01 11:40:07 +02:00 committed by xeji
parent e616563433
commit 90ce71eb0c
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ stdenv, fetchFromGitHub, autoconf, automake, gtk-doc, pkgconfig, libuuid,
libtool, readline, gobjectIntrospection, json-glib, lvm2, libxslt, docbook_xsl }:
stdenv.mkDerivation rec {
name = "ldmtool-${version}";
version = "0.2.4";
src = fetchFromGitHub {
owner = "mdbooth";
repo = "libldm";
rev = "libldm-${version}";
sha256 = "1fy5wbmk8kwl86lzswq0d1z2j5y023qzfm2ppm8knzv9c47kniqk";
};
preConfigure = ''
sed -i docs/reference/ldmtool/Makefile.am \
-e 's|-nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl|--nonet ${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl|g'
'';
configureScript = "sh autogen.sh";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ autoconf automake gtk-doc lvm2 libxslt.bin
libtool readline gobjectIntrospection json-glib libuuid
];
meta = with stdenv.lib; {
description = "Tool and library for managing Microsoft Windows Dynamic Disks";
homepage = https://github.com/mdbooth/libldm;
maintainers = with maintainers; [ jensbin ];
license = licenses.gpl3;
platforms = platforms.linux;
};
}

View file

@ -2801,6 +2801,8 @@ with pkgs;
gparted = callPackage ../tools/misc/gparted { };
ldmtool = callPackage ../tools/misc/ldmtool { };
gpodder = callPackage ../applications/audio/gpodder { };
gpp = callPackage ../development/tools/gpp { };