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