diff --git a/pkgs/development/libraries/haskell/numeric-extras/default.nix b/pkgs/development/libraries/haskell/numeric-extras/default.nix new file mode 100644 index 000000000000..76783dceb494 --- /dev/null +++ b/pkgs/development/libraries/haskell/numeric-extras/default.nix @@ -0,0 +1,13 @@ +{ cabal }: + +cabal.mkDerivation (self: { + pname = "numeric-extras"; + version = "0.0.3"; + sha256 = "18jyjrk6iizz3sgkwgbh1rxf6zdf166bkgs7wia8b4z7f6261nzg"; + meta = { + homepage = "http://github.com/ekmett/numeric-extras"; + description = "Useful tools from the C standard library"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 400975cbab42..be9d8f415fc0 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1509,6 +1509,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); nonNegative = callPackage ../development/libraries/haskell/non-negative {}; + numericExtras = callPackage ../development/libraries/haskell/numeric-extras {}; + numericPrelude = callPackage ../development/libraries/haskell/numeric-prelude {}; NumInstances = callPackage ../development/libraries/haskell/NumInstances {};