2013-03-24 16:44:05 +00:00
|
|
|
{ cabal, mtl, random }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "arithmoi";
|
2014-03-19 10:45:00 +00:00
|
|
|
version = "0.4.0.4";
|
|
|
|
sha256 = "1v8qn0gjvlds6ljm9sfzzi5w3gsf7x63z0r7hcs1rvn0n3acwz6y";
|
2013-03-24 16:44:05 +00:00
|
|
|
buildDepends = [ mtl random ];
|
|
|
|
meta = {
|
|
|
|
homepage = "https://bitbucket.org/dafis/arithmoi";
|
2013-10-16 15:09:26 +00:00
|
|
|
description = "Efficient basic number-theoretic functions. Primes, powers, integer logarithms.";
|
2013-03-24 16:44:05 +00:00
|
|
|
license = self.stdenv.lib.licenses.mit;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|