2013-03-24 17:44:05 +01:00
|
|
|
{ cabal, mtl, random }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "arithmoi";
|
|
|
|
version = "0.4.0.3";
|
|
|
|
sha256 = "0idn312xzly636h13zmm7cw7ki64bpnniqc97nshqzgp8if5ycrc";
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
})
|