Merge pull request #115424 from siraben/darwin-mass-fix-buildInputs=0

This commit is contained in:
Sandro 2021-03-09 21:14:38 +01:00 committed by GitHub
commit aa3af19774
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 45 additions and 28 deletions

View File

@ -23,6 +23,6 @@ stdenv.mkDerivation rec {
'';
license = licenses.gpl3;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View File

@ -20,6 +20,6 @@ stdenv.mkDerivation {
description = "A linear logic programming language for modeling generative interactive systems";
homepage = "https://github.com/chrisamaphone/interactive-lp";
maintainers = with maintainers; [ pSub ];
platforms = with platforms; linux;
platforms = platforms.unix;
};
}

View File

@ -8,6 +8,14 @@ stdenv.mkDerivation rec {
sha256 = "19szwxzvl2g65fw95ggvb8h0ma5bd9vvnnccn59hwnc4dida1x4n";
};
postPatch = ''
substituteInPlace Makefile.sharedlibrary \
--replace 'gcc' '${stdenv.cc.targetPrefix}cc' \
--replace 'g++' '${stdenv.cc.targetPrefix}c++'
substituteInPlace Makefile.cmdline \
--replace 'gcc' '${stdenv.cc.targetPrefix}cc' \
--replace 'g++' '${stdenv.cc.targetPrefix}c++'
'';
buildPhase = ''
make -f Makefile.sharedlibrary
make -f Makefile.cmdline
@ -27,6 +35,6 @@ stdenv.mkDerivation rec {
downloadPage = "https://duktape.org/download.html";
license = licenses.mit;
maintainers = [ maintainers.fgaz ];
platforms = platforms.linux;
platforms = platforms.all;
};
}

View File

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
description = "Beautiful stack trace pretty printer for C++";
homepage = "https://github.com/bombela/backward-cpp";
license = licenses.mit;
platforms = platforms.linux;
platforms = platforms.all;
maintainers = with maintainers; [ cstrahan ];
};
}

View File

@ -21,6 +21,6 @@ stdenv.mkDerivation {
homepage = "https://github.com/edouarda/brigand";
license = licenses.boost;
maintainers = with maintainers; [ pmiddend ];
platforms = platforms.linux;
platforms = platforms.all;
};
}

View File

@ -8,8 +8,12 @@ stdenv.mkDerivation rec {
sha256 = "17yh695aim508x1kn9zf6g13jxwk3pi3404h5ix4g5lc60hzs1rw";
};
patchPhase = ''
sed -i s,/usr/local,$out, Makefile
postPatch = ''
substituteInPlace Makefile \
--replace '/usr/local' '${placeholder "out"}' \
--replace 'gcc' '${stdenv.cc.targetPrefix}cc' \
--replace 'ranlib -t' '${stdenv.cc.targetPrefix}ranlib' \
--replace 'ranlib' '${stdenv.cc.targetPrefix}ranlib'
'';
preInstall = ''
@ -20,7 +24,7 @@ stdenv.mkDerivation rec {
homepage = "http://devernay.free.fr/hacks/cminpack/cminpack.html";
license = lib.licenses.bsd3;
description = "Software for solving nonlinear equations and nonlinear least squares problems";
platforms = lib.platforms.linux;
platforms = lib.platforms.all;
};
}

View File

@ -23,6 +23,6 @@ stdenv.mkDerivation rec {
homepage = "http://roaringbitmap.org/";
license = licenses.asl20;
maintainers = with maintainers; [ orivej ];
platforms = platforms.linux;
platforms = platforms.all;
};
}

View File

@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "PoW algorithm for Ethereum 1.0 based on Dagger-Hashimoto";
homepage = "https://github.com/ethereum/ethash";
platforms = [ "x86_64-linux" ];
platforms = platforms.unix;
maintainers = with maintainers; [ nand0p ];
license = licenses.asl20;
};

View File

@ -34,6 +34,6 @@ stdenv.mkDerivation rec {
homepage = "https://sourceforge.net/projects/ser2net/";
license = licenses.gpl2;
maintainers = with maintainers; [ emantor ];
platforms = with platforms; linux;
platforms = platforms.unix;
};
}

View File

@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
homepage = "https://github.com/bfgroup/Lyra";
description = "A simple to use, composable, command line parser for C++ 11 and beyond";
platforms = platforms.linux;
platforms = platforms.unix;
license = licenses.boost;
maintainers = with maintainers; [ davidtwco ];
};

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
homepage = "https://trac.mpich.org/projects/openpa";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ leenaars ];
platforms = with lib.platforms; linux;
platforms = lib.platforms.unix;
longDescription = ''
OPA (or sometimes OpenPA or Open Portable Atomics) is an
open source library intended to provide a consistent C API for performing

View File

@ -10,7 +10,8 @@ stdenv.mkDerivation {
postPatch = ''
substituteInPlace Makefile \
--replace ginstall install
--replace ginstall install \
--replace gcc '${stdenv.cc.targetPrefix}cc'
'';
makeFlags = [ "BINDIR=$(out)/bin" "MANDIR=$(out)/share/man" ];
@ -27,6 +28,6 @@ stdenv.mkDerivation {
meta = {
description = "Parse formatted man pages and man page source from most flavors of UNIX and converts them to HTML, ASCII, TkMan, DocBook, and other formats";
license = "artistic";
platforms = lib.platforms.linux;
platforms = lib.platforms.all;
};
}

View File

@ -1,25 +1,28 @@
{lib, stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "jikespg-1.3";
pname = "jikespg";
version = "1.3";
src = fetchurl {
url = "mirror://sourceforge/jikes/${name}.tar.gz";
url = "mirror://sourceforge/jikes/${pname}-${version}.tar.gz";
sha256 = "083ibfxaiw1abxmv1crccx1g6sixkbyhxn2hsrlf6fwii08s6rgw";
};
postPatch = ''
substituteInPlace Makefile --replace "gcc" "${stdenv.cc.targetPrefix}cc"
'';
sourceRoot = "jikespg/src";
installPhase =
''
mkdir -p $out/bin
cp jikespg $out/bin
installPhase = ''
install -Dm755 -t $out/bin jikespg
'';
meta = with lib; {
homepage = "http://jikes.sourceforge.net/";
description = "The Jikes Parser Generator";
platforms = platforms.linux;
platforms = platforms.all;
license = licenses.ipl10;
maintainers = with maintainers; [ pSub ];
};

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl }:
{ lib, stdenv, fetchurl, libiconv }:
stdenv.mkDerivation rec {
pname = "ripmime";
@ -8,6 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "0sj06ibmlzy34n8v0mnlq2gwidy7n2aqcwgjh0xssz3vi941aqc9";
};
buildInputs = [ libiconv ];
preInstall = ''
sed -i Makefile -e "s@LOCATION=.*@LOCATION=$out@" -e "s@man/man1@share/&@"
mkdir -p "$out/bin" "$out/share/man/man1"
@ -19,7 +20,7 @@ stdenv.mkDerivation rec {
description = "Attachment extractor for MIME messages";
maintainers = with maintainers; [ raskin ];
homepage = "http://www.pldaniels.com/ripmime/";
platforms = platforms.linux;
platforms = platforms.all;
};
passthru = {

View File

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
description = "Small utilities that are useful in advanced password cracking";
homepage = "https://github.com/hashcat/hashcat-utils";
license = licenses.mit;
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ fadenb ];
};
}

View File

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
description = "Secure file wiping utility";
homepage = "http://wipe.sourceforge.net/";
license = licenses.gpl2;
platforms = platforms.linux;
platforms = platforms.all;
maintainers = [ maintainers.abbradar ];
};
}

View File

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
'';
homepage = "https://github.com/rpodgorny/uptimed/";
license = licenses.gpl2;
platforms = platforms.linux;
platforms = platforms.unix;
};
}