2013-03-24 16:44:05 +00: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 16:09:26 +01: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;
|
|
|
|
};
|
|
|
|
})
|