2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2015-10-16 18:33:51 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mkinitcpio-nfs-utils-0.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://sources.archlinux.org/other/mkinitcpio/${name}.tar.xz";
|
|
|
|
sha256 = "0fc93sfk41ycpa33083kyd7i4y00ykpbhj5qlw611bjghj4x946j";
|
|
|
|
# ugh, upstream...
|
|
|
|
name = "${name}.tar.gz";
|
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "DESTDIR=$(out)" "bindir=/bin" ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
rm -rf $out/usr
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://archlinux.org/;
|
2015-10-16 18:33:51 +01:00
|
|
|
description = "ipconfig and nfsmount tools for root on NFS, ported from klibc";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|