forked from mirrors/nixpkgs
Merge pull request #3457 from luke-clifton/lc-haskell-ad
Adding Haskell Package AD for automatic differentiation
This commit is contained in:
commit
f20f30af2c
19
pkgs/development/libraries/haskell/ad/default.nix
Normal file
19
pkgs/development/libraries/haskell/ad/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ cabal, comonad, dataReify, doctest, erf, filepath, free, mtl
|
||||
, nats, reflection, tagged, transformers
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "ad";
|
||||
version = "4.2.0.1";
|
||||
sha256 = "06vjllcrnr4dv5h3xkcy5zhnhyamp6b6jahpnh2y0i6mp2bdw0pz";
|
||||
buildDepends = [
|
||||
comonad dataReify erf free mtl nats reflection tagged transformers
|
||||
];
|
||||
testDepends = [ doctest filepath mtl ];
|
||||
meta = {
|
||||
homepage = "http://github.com/ekmett/ad";
|
||||
description = "Automatic Differentiation";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
|
@ -135,6 +135,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
|
|||
|
||||
abstractPar = callPackage ../development/libraries/haskell/abstract-par {};
|
||||
|
||||
ad = callPackage ../development/libraries/haskell/ad {};
|
||||
|
||||
adjunctions = callPackage ../development/libraries/haskell/adjunctions {};
|
||||
|
||||
AES = callPackage ../development/libraries/haskell/AES {};
|
||||
|
|
Loading…
Reference in a new issue