3
0
Fork 0
forked from mirrors/nixpkgs

ldm: Bump to 0.5.

We don't build docs because it would pull in git and perl as deps.
This commit is contained in:
Moritz Ulrich 2014-08-12 13:52:48 +02:00
parent e3bf7253b0
commit a163d484fc

View file

@ -3,7 +3,7 @@
assert mountPath != "";
let
version = "v0.4.2";
version = "0.5";
git = https://github.com/LemonBoy/ldm.git;
in
stdenv.mkDerivation rec {
@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
# contains important fixes for LVM setups.
src = fetchgit {
url = meta.repositories.git;
rev = "refs/tags/${version}";
sha256 = "1fdm3l00csjyvz40py6wlsh8s441rbp4az3sc2i14ag7srh2yim8";
rev = "refs/tags/v${version}";
sha256 = "0kkby3a0xgh1lmkbzpsi4am2rqjv3ccgdpic99aw1c76y0ca837y";
};
buildInputs = [ udev utillinux ];
@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
--replace "/mnt/" "${mountPath}"
'';
buildPhase = "make ldm";
installPhase = ''
mkdir -p $out/bin
cp -v ldm $out/bin