-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
241 changed files
with
17,035 additions
and
4,035 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# CERNLIB {#cernlib-hook} | ||
|
||
This hook sets the `CERN`, `CERN_LEVEL`, and `CERN_ROOT` environment variables. They are part of [CERNLIB's build system](https://cernlib.web.cern.ch/install/install.html), and are are needed for some programs to compile correctly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Geant4 {#geant4} | ||
|
||
[Geant4](https://www.geant4.org/) is a toolkit for simulating how particles pass through matter. It is available through the `geant4` package. | ||
|
||
## Setup hook {#geant4-hook} | ||
|
||
The setup hook included in the package applies the environment variables set by the [`geant4.sh` script](https://github.com/Geant4/geant4/blob/master/cmake/Modules/G4ConfigureGNUMakeHelpers.cmake#L4-L55), which is typically necessary for compiling `make`-based programs that depend on Geant4. | ||
|
||
## Datasets {#geant4-datasets} | ||
|
||
All of [the Geant4 datasets provided by CERN](https://geant4.web.cern.ch/support/download) are available through the `geant4.data` attrset. | ||
|
||
### Setup hook {#geant4-datasets-hook} | ||
|
||
The hook provided by the packages in `geant4.data` will set an appropriate environment variable in the form of `G4[...]DATA`. For example, for the `G4RadioactiveDecay` dataset, the `G4RADIOACTIVEDATA` environment variable is set to the value expected by Geant4. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# LHAPDF {#lhapdf} | ||
|
||
[LHAPDF](https://lhapdf.hepforge.org/) is a tool for evaluating parton distribution functions (PDFs) in high-energy physics. LHAPDF is available in the `lhapdf` package. | ||
|
||
## PDF sets {#lhapdf-sets} | ||
|
||
All of [the PDF sets made available by the LHAPDF project](https://lhapdf.hepforge.org/pdfsets.html) are available through the `lhapdf.pdf_sets` attrset. | ||
|
||
### Setup hook {#lhapdf-sets-hook} | ||
|
||
Each package provided in the `lhapdf.pdf_sets` attrset contains a setup hook which adds itself to [the `LHAPDF_DATA_PATH` environment variable](https://lhapdf.hepforge.org/#sets). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -742,6 +742,12 @@ | |
githubId = 45179933; | ||
name = "Alex Jackson"; | ||
}; | ||
ajgon = { | ||
email = "[email protected]"; | ||
github = "ajgon"; | ||
githubId = 150545; | ||
name = "Igor Rzegocki"; | ||
}; | ||
ajgrf = { | ||
email = "[email protected]"; | ||
github = "ajgrf"; | ||
|
@@ -2249,6 +2255,12 @@ | |
github = "Baitinq"; | ||
githubId = 30861839; | ||
}; | ||
baksa = { | ||
email = "[email protected]"; | ||
name = "Kryštof Baksa"; | ||
github = "Golbinex"; | ||
githubId = 62813600; | ||
}; | ||
balodja = { | ||
email = "[email protected]"; | ||
github = "balodja"; | ||
|
@@ -11295,6 +11307,12 @@ | |
githubId = 4032; | ||
name = "Kristoffer Thømt Ravneberg"; | ||
}; | ||
kristianan = { | ||
email = "[email protected]"; | ||
github = "KristianAN"; | ||
githubId = 80984519; | ||
name = "Kristian Alvestad Nedevold-Hansen"; | ||
}; | ||
kristian-brucaj = { | ||
email = "[email protected]"; | ||
github = "Flameslice"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
pkgs/applications/editors/emacs/elisp-packages/elpa-common-overrides.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
pkgs: | ||
|
||
self: super: | ||
|
||
let | ||
libExt = pkgs.stdenv.hostPlatform.extensions.sharedLibrary; | ||
in | ||
{ | ||
# TODO delete this when we get upstream fix https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73241 | ||
eglot = super.eglot.overrideAttrs (old: { | ||
postInstall = | ||
old.postInstall or "" | ||
+ '' | ||
local info_file=eglot.info | ||
pushd $out/share/emacs/site-lisp/elpa/eglot-* | ||
# specify output info file to override the one defined in eglot.texi | ||
makeinfo --output=$info_file eglot.texi | ||
install-info $info_file dir | ||
popd | ||
''; | ||
}); | ||
|
||
# native compilation for tests/seq-tests.el never ends | ||
# delete tests/seq-tests.el to workaround this | ||
seq = super.seq.overrideAttrs (old: { | ||
dontUnpack = false; | ||
postUnpack = | ||
old.postUnpack or "" | ||
+ "\n" | ||
+ '' | ||
local content_directory=$(echo seq-*) | ||
rm --verbose $content_directory/tests/seq-tests.el | ||
src=$PWD/$content_directory.tar | ||
tar --create --verbose --file=$src $content_directory | ||
''; | ||
}); | ||
|
||
xeft = super.xeft.overrideAttrs (old: { | ||
dontUnpack = false; | ||
buildInputs = old.buildInputs or [ ] ++ [ pkgs.xapian ]; | ||
buildPhase = | ||
old.buildPhase or "" | ||
+ '' | ||
$CXX -shared -o xapian-lite${libExt} xapian-lite.cc $NIX_CFLAGS_COMPILE -lxapian | ||
''; | ||
postInstall = | ||
old.postInstall or "" | ||
+ "\n" | ||
+ '' | ||
outd=$out/share/emacs/site-lisp/elpa/xeft-* | ||
install -m444 -t $outd xapian-lite${libExt} | ||
rm $outd/xapian-lite.cc $outd/emacs-module.h $outd/emacs-module-prelude.h $outd/demo.gif $outd/Makefile | ||
''; | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.