chore: nixfmt *

This commit is contained in:
steveej 2022-10-31 11:04:38 +01:00
parent dc761a5271
commit d039179898
161 changed files with 2688 additions and 3024 deletions

View file

@ -1,11 +1,4 @@
{ stdenv
, fetchFromGitHub
, autoconf
, automake
, libtool
, gnumake
, gcc
}:
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, gnumake, gcc }:
stdenv.mkDerivation rec {
name = "slirp4netns-${version}";
@ -18,21 +11,15 @@ stdenv.mkDerivation rec {
sha256 = "0kqncza4kgqkqiki569j7ym9pvp7879i6q2z0djvda9y0i6b80w4";
};
buildInputs = [
autoconf
automake
libtool
gnumake
gcc
];
buildInputs = [ autoconf automake libtool gnumake gcc ];
configurePhase = ''
./autogen.sh
./configure --prefix=""
'';
buildPhase = ''
make
make
'';
installPhase = ''
@ -41,7 +28,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "User-mode networking for unprivileged network namespaces";
homepage = https://github.com/rootless-containers/slirp4netns;
homepage = "https://github.com/rootless-containers/slirp4netns";
license = null;
maintainers = [ maintainers.steveej ];
platforms = platforms.all;