Merge pull request #17657 from matthewbauer/darwin-misc
Darwin misc. fixes
This commit is contained in:
commit
40d217b90e
7 changed files with 25 additions and 10 deletions
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue