mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
Merge pull request #83914 from cgevans/gwyddion-darwin
gwyddion: support darwin
This commit is contained in:
commit
99a236b477
@ -12,7 +12,7 @@
|
||||
zlibSupport ? true, zlib ? null,
|
||||
libuniqueSupport ? true, libunique ? null,
|
||||
libpngSupport ? true, libpng ? null,
|
||||
openglSupport ? true
|
||||
openglSupport ? !stdenv.isDarwin
|
||||
}:
|
||||
|
||||
assert openexrSupport -> openexr != null;
|
||||
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = with stdenv.lib;
|
||||
[ gtk2 fftw ] ++
|
||||
optionals openglSupport [gnome2.gtkglext] ++
|
||||
optional openglSupport gnome2.gtkglext ++
|
||||
optional openexrSupport openexr ++
|
||||
optional libXmuSupport xorg.libXmu ++
|
||||
optional fitsSupport cfitsio ++
|
||||
@ -80,7 +80,7 @@ stdenv.mkDerivation rec {
|
||||
spectrophotometry.
|
||||
'';
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||
maintainers = [ stdenv.lib.maintainers.cge ];
|
||||
};
|
||||
}
|
||||
|
@ -32,6 +32,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://wiki.gnome.org/Attic/LibUnique";
|
||||
description = "A library for writing single instance applications";
|
||||
license = stdenv.lib.licenses.lgpl21;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user