3
0
Fork 0
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:
Aycan iRiCAN 2014-08-04 14:16:25 +03:00
commit f20f30af2c
2 changed files with 21 additions and 0 deletions

View 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;
};
})

View file

@ -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 {};