2013-03-24 17:44:05 +01:00
|
|
|
{ cabal, mtl, random }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "arithmoi";
|
2014-05-01 23:43:54 +02:00
|
|
|
version = "0.4.1.0";
|
|
|
|
sha256 = "1xmwxmvl9l1fa2sgr4ff7al8b5d5136h4fq9r05abj3nfnx1a0iq";
|
2013-03-24 17:44:05 +01:00
|
|
|
buildDepends = [ mtl random ];
|
2014-06-05 12:12:39 +02:00
|
|
|
jailbreak = true;
|
2013-03-24 17:44:05 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|