diff --git a/pkgs/development/libraries/haskell/math-functions/default.nix b/pkgs/development/libraries/haskell/math-functions/default.nix new file mode 100644 index 000000000000..266ffcd30f7f --- /dev/null +++ b/pkgs/development/libraries/haskell/math-functions/default.nix @@ -0,0 +1,18 @@ +{ cabal, erf, vector }: + +cabal.mkDerivation (self: { + pname = "math-functions"; + version = "0.1.1.0"; + sha256 = "0qb0hbfzd1g8cz3dkm8cs2wknz08b63vn7nljmynk794y64b1klp"; + buildDepends = [ erf vector ]; + meta = { + homepage = "https://github.com/bos/math-functions"; + description = "Special functions and Chebyshev polynomials"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = [ + self.stdenv.lib.maintainers.andres + self.stdenv.lib.maintainers.simons + ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index f123b1193401..236f8f9a5a91 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -915,6 +915,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); logfloat = callPackage ../development/libraries/haskell/logfloat {}; + mathFunctions = callPackage ../development/libraries/haskell/math-functions {}; + maude = callPackage ../development/libraries/haskell/maude { parsec = self.parsec3; };