mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 15:15:36 +00:00
15 lines
458 B
Nix
15 lines
458 B
Nix
{ 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";
|
|
description = "Efficient basic number-theoretic functions. Primes, powers, integer logarithms.";
|
|
license = self.stdenv.lib.licenses.mit;
|
|
platforms = self.ghc.meta.platforms;
|
|
};
|
|
})
|