diff --git a/pkgs/development/libraries/haskell/arithmoi/default.nix b/pkgs/development/libraries/haskell/arithmoi/default.nix new file mode 100644 index 000000000000..181937fdd807 --- /dev/null +++ b/pkgs/development/libraries/haskell/arithmoi/default.nix @@ -0,0 +1,14 @@ +{ 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; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 1db252bc97a1..ba83bd2a4d2a 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -468,6 +468,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); ansiWlPprint = callPackage ../development/libraries/haskell/ansi-wl-pprint {}; + arithmoi = callPackage ../development/libraries/haskell/arithmoi {}; + arrows = callPackage ../development/libraries/haskell/arrows {}; asn1Data = callPackage ../development/libraries/haskell/asn1-data {};