Merge pull request #17657 from matthewbauer/darwin-misc

Darwin misc. fixes
This commit is contained in:
Robin Gloster 2016-08-11 16:41:34 +00:00 committed by GitHub
commit 40d217b90e
7 changed files with 25 additions and 10 deletions

View file

@ -12,9 +12,11 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib ];
preBuild = ''
makeFlagsArray=("HSTDIR=${htslib}" "prefix=$out")
'';
makeFlags = [
"HSTDIR=${htslib}"
"prefix=$out"
"CC=cc"
];
meta = with stdenv.lib; {
description = "Tools for manipulating BCF2/VCF/gVCF format, SNP and short indel sequence variants";

View file

@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib boost ];
patchPhase = ''
substituteInPlace Makefile \
--replace "GCC = g++" "GCC = c++"
'';
preBuild = ''
cp ${glucose.src} patches/glucose-syrup.tgz
./bootstrap.sh

View file

@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
version = "2.2.2";
# The current version of LiE is 2.2.2, which is more or less unchanged
# since about the year 2000. Minor bugfixes do get applied now and then.
name = "LiE-${version}";
name = "lie-${version}";
meta = {
description = "A Computer algebra package for Lie group computations";
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
characteristics, we refer to the following sources of information.
''; # take from the website
platforms = stdenv.lib.platforms.unix;
platforms = stdenv.lib.platforms.linux;
maintainers = [ ]; # this package is probably not going to change anyway
};

View file

@ -112,7 +112,7 @@ stdenv.mkDerivation rec {
description = "Open-source electronics prototyping platform";
homepage = http://arduino.cc/;
license = stdenv.lib.licenses.gpl2;
platforms = platforms.all;
platforms = platforms.linux;
maintainers = with maintainers; [ antono robberer bjornfor ];
};
}

View file

@ -15,6 +15,6 @@ stdenv.mkDerivation rec {
description = "A utility library to help manage common tasks with OpenAL applications";
homepage = http://kcat.strangesoft.net/alure.html;
license = licenses.mit;
platforms = platforms.unix;
platforms = platforms.linux;
};
}

View file

@ -1,7 +1,7 @@
{ stdenv, pkgs, fetchurl }:
stdenv.mkDerivation rec {
name = "${product}-${version}";
name = "atomicparsley-${version}";
product = "AtomicParsley";
version = "0.9.0";
@ -10,12 +10,20 @@ stdenv.mkDerivation rec {
sha256 = "de83f219f95e6fe59099b277e3ced86f0430ad9468e845783092821dff15a72e";
};
buildInputs = with pkgs; [ unzip ];
buildInputs = with pkgs; [ unzip ]
++ stdenv.lib.optional stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ];
patches = [ ./casts.patch ];
setSourceRoot = "sourceRoot=${product}-source-${version}";
buildPhase = "bash build";
installPhase = "install -D AtomicParsley $out/bin/AtomicParsley";
postPatch = ''
substituteInPlace build \
--replace 'g++' 'c++'
substituteInPlace AP_NSImage.mm \
--replace '_NSBitmapImageFileType' 'NSBitmapImageFileType'
'';
meta = with stdenv.lib; {
description = ''
A lightweight command line program for reading, parsing and

View file

@ -16545,7 +16545,7 @@ in
openspecfun = callPackage ../development/libraries/science/math/openspecfun {};
LiE = callPackage ../applications/science/math/LiE { };
lie = callPackage ../applications/science/math/LiE { };
magma = callPackage ../development/libraries/science/math/magma { };