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:
parent
e3bf7253b0
commit
a163d484fc
@ -3,7 +3,7 @@
|
|||||||
assert mountPath != "";
|
assert mountPath != "";
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "v0.4.2";
|
version = "0.5";
|
||||||
git = https://github.com/LemonBoy/ldm.git;
|
git = https://github.com/LemonBoy/ldm.git;
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
|
|||||||
# contains important fixes for LVM setups.
|
# contains important fixes for LVM setups.
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = meta.repositories.git;
|
url = meta.repositories.git;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "1fdm3l00csjyvz40py6wlsh8s441rbp4az3sc2i14ag7srh2yim8";
|
sha256 = "0kkby3a0xgh1lmkbzpsi4am2rqjv3ccgdpic99aw1c76y0ca837y";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ udev utillinux ];
|
buildInputs = [ udev utillinux ];
|
||||||
@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
|
|||||||
--replace "/mnt/" "${mountPath}"
|
--replace "/mnt/" "${mountPath}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
buildPhase = "make ldm";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp -v ldm $out/bin
|
cp -v ldm $out/bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user