83627f9931
GitOrigin-RevId: 2893f56de08021cffd9b6b6dfc70fd9ccd51eb60
27 lines
744 B
Nix
27 lines
744 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mkinitcpio-nfs-utils";
|
|
version = "0.3";
|
|
|
|
src = fetchurl {
|
|
url = "https://sources.archlinux.org/other/mkinitcpio/mkinitcpio-nfs-utils-${version}.tar.xz";
|
|
sha256 = "0fc93sfk41ycpa33083kyd7i4y00ykpbhj5qlw611bjghj4x946j";
|
|
# ugh, upstream...
|
|
name = "mkinitcpio-nfs-utils-${version}.tar.gz";
|
|
};
|
|
|
|
makeFlags = [ "DESTDIR=$(out)" "bindir=/bin" ];
|
|
|
|
postInstall = ''
|
|
rm -rf $out/usr
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://archlinux.org/";
|
|
description = "ipconfig and nfsmount tools for root on NFS, ported from klibc";
|
|
license = licenses.gpl2Only;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ abbradar ];
|
|
};
|
|
}
|