3
0
Fork 0
forked from mirrors/nixpkgs

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

This commit is contained in:
Sandro 2021-03-03 17:58:53 +01:00 committed by GitHub
commit ce258a0664
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 27 additions and 18 deletions

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
makeFlags = [
"-C sources"
"CC=${stdenv.cc}/bin/cc"
"CC=${stdenv.cc.targetPrefix}cc"
];
preInstall = ''
@ -34,6 +34,6 @@ stdenv.mkDerivation rec {
description = "A portable Forth compiler";
homepage = "https://thebeez.home.xs4all.nl/4tH/index.html";
license = licenses.lgpl3;
platforms = platforms.linux;
platforms = platforms.all;
};
}

View file

@ -39,6 +39,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/cseed/arachne-pnr";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ shell thoughtpolice ];
platforms = lib.platforms.linux;
platforms = lib.platforms.unix;
};
}

View file

@ -63,6 +63,6 @@ stdenv.mkDerivation rec {
'';
maintainers = [ lib.maintainers.peti ];
platforms = lib.platforms.gnu ++ lib.platforms.linux;
platforms = lib.platforms.unix;
};
}

View file

@ -70,5 +70,6 @@ stdenv.mkDerivation rec {
homepage = "https://www.cs.kent.ac.uk/people/staff/dat/miranda/";
license = licenses.bsd2;
maintainers = with maintainers; [ siraben ];
platforms = platforms.all;
};
}

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
buildPhase = ''
mkdir -p $out/bin $out/share/mu
cp -r lib $out/share/mu
gcc -O3 -o $out/bin/mu-unwrapped bootstrap/mu64.c
${stdenv.cc.targetPrefix}cc -o $out/bin/mu-unwrapped bootstrap/mu64.c
'';
installPhase = ''
@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/nickmqb/muon";
license = licenses.mit;
maintainers = with maintainers; [ Br1ght0ne ];
platforms = [ "x86_64-linux" ];
platforms = platforms.all;
};
}

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
buildPhase = ''
# according to official documentation
cc rasm_v*.c -O2 -lm -lrt -o rasm
${stdenv.cc.targetPrefix}cc rasm_v*.c -O2 -lm -o rasm
'';
installPhase = ''
@ -28,6 +28,6 @@ stdenv.mkDerivation rec {
# use -n option to display all licenses
license = licenses.mit; # expat version
maintainers = [ ];
platforms = platforms.linux;
platforms = platforms.all;
};
}

View file

@ -14,6 +14,10 @@ stdenv.mkDerivation {
sha256 = "1bns9wgn5i1ahj19qx7v1wwdy8ca3q3pigxwznm5nywsw7s7lqxs";
};
postPatch = ''
substituteInPlace Makefile --replace 'g++' '${stdenv.cc.targetPrefix}c++'
'';
installPhase = ''
mkdir -p $out/bin
mv serpent $out/bin
@ -33,6 +37,6 @@ stdenv.mkDerivation {
homepage = "https://github.com/ethereum/wiki/wiki/Serpent";
license = with licenses; [ wtfpl ];
maintainers = with maintainers; [ chris-martin ];
platforms = with platforms; linux;
platforms = platforms.all;
};
}

View file

@ -12,7 +12,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ cmake ];
buildInputs = [ ];
meta = with lib; {
homepage = "https://github.com/liuq/QuadProgpp";
@ -22,6 +21,6 @@ stdenv.mkDerivation rec {
Goldfarb-Idnani active-set dual method.
'';
maintainers = with maintainers; [ ];
platforms = with platforms; linux;
platforms = platforms.all;
};
}

View file

@ -26,5 +26,6 @@ stdenv.mkDerivation {
homepage = "https://gitlab.com/somasis/scripts/";
maintainers = [ maintainers.ar1a ];
license = licenses.unlicense;
platforms = platforms.unix;
};
}

View file

@ -14,6 +14,6 @@ stdenv.mkDerivation rec {
description = "Tool for waiting until a particular time and then running a command";
maintainers = with maintainers; [ kaction ];
license = licenses.cc0;
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View file

@ -7,8 +7,9 @@ stdenv.mkDerivation rec {
sha256 = "1zn37r5xrvjgjbw2bdkc0r7s6q8b1krmcryzj0yf0dyxbx79rasi";
};
patchPhase = ''
postPatch = ''
sed -i "Makefile" -e "s|^ *PREFIX *=.*$|PREFIX = $out|g"
substituteInPlace Makefile --replace 'gcc' '${stdenv.cc.targetPrefix}cc'
'';
meta = {
@ -24,6 +25,6 @@ stdenv.mkDerivation rec {
license = "liberal"; # a non-copyleft license, see `Copyright' file
homepage = "http://www.mesa.nl/pub/mpage/";
platforms = lib.platforms.linux;
platforms = lib.platforms.all;
};
}

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl }:
{ lib, stdenv, fetchurl, libintl }:
stdenv.mkDerivation rec {
@ -9,6 +9,9 @@ stdenv.mkDerivation rec {
url = "mirror://savannah/numdiff/numdiff-${version}.tar.gz";
sha256 = "1vzmjh8mhwwysn4x4m2vif7q2k8i19x8azq7pzmkwwj4g48lla47";
};
buildInputs = [ libintl ];
meta = with lib; {
description = ''
A little program that can be used to compare putatively similar files
@ -18,6 +21,6 @@ stdenv.mkDerivation rec {
homepage = "https://www.nongnu.org/numdiff/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [];
platforms = platforms.gnu ++ platforms.linux;
platforms = platforms.unix;
};
}

View file

@ -34,6 +34,6 @@ stdenv.mkDerivation rec {
similar ASCII characters, e.g. by stripping diacritics.
'';
maintainers = with lib.maintainers; [ goibhniu ];
platforms = lib.platforms.linux;
platforms = lib.platforms.all;
};
}

View file

@ -22,7 +22,7 @@ stdenv.mkDerivation {
description = "Merge YAML data files";
homepage = "https://github.com/abbradar/yaml-merge";
license = licenses.bsd2;
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ abbradar ];
};
}