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