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,
|
zlibSupport ? true, zlib ? null,
|
||||||
libuniqueSupport ? true, libunique ? null,
|
libuniqueSupport ? true, libunique ? null,
|
||||||
libpngSupport ? true, libpng ? null,
|
libpngSupport ? true, libpng ? null,
|
||||||
openglSupport ? true
|
openglSupport ? !stdenv.isDarwin
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert openexrSupport -> openexr != null;
|
assert openexrSupport -> openexr != null;
|
||||||
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = with stdenv.lib;
|
buildInputs = with stdenv.lib;
|
||||||
[ gtk2 fftw ] ++
|
[ gtk2 fftw ] ++
|
||||||
optionals openglSupport [gnome2.gtkglext] ++
|
optional openglSupport gnome2.gtkglext ++
|
||||||
optional openexrSupport openexr ++
|
optional openexrSupport openexr ++
|
||||||
optional libXmuSupport xorg.libXmu ++
|
optional libXmuSupport xorg.libXmu ++
|
||||||
optional fitsSupport cfitsio ++
|
optional fitsSupport cfitsio ++
|
||||||
@ -80,7 +80,7 @@ stdenv.mkDerivation rec {
|
|||||||
spectrophotometry.
|
spectrophotometry.
|
||||||
'';
|
'';
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = stdenv.lib.licenses.gpl2;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||||
maintainers = [ stdenv.lib.maintainers.cge ];
|
maintainers = [ stdenv.lib.maintainers.cge ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -32,6 +32,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "https://wiki.gnome.org/Attic/LibUnique";
|
homepage = "https://wiki.gnome.org/Attic/LibUnique";
|
||||||
description = "A library for writing single instance applications";
|
description = "A library for writing single instance applications";
|
||||||
license = stdenv.lib.licenses.lgpl21;
|
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