diff --git a/pkgs/development/libraries/haskell/yaml/default.nix b/pkgs/development/libraries/haskell/yaml/default.nix new file mode 100644 index 000000000000..fce7026c0ca5 --- /dev/null +++ b/pkgs/development/libraries/haskell/yaml/default.nix @@ -0,0 +1,20 @@ +{ cabal, enumerator, transformers }: + +cabal.mkDerivation (self: { + pname = "yaml"; + version = "0.4.1.1"; + sha256 = "0qm7kfvi99m80m2lsmn98ssr2sfsw1rbbmzyjlg7bmvbaxsyw0b9"; + isLibrary = true; + isExecutable = true; + buildDepends = [ enumerator transformers ]; + meta = { + homepage = "http://github.com/snoyberg/yaml/"; + description = "Low-level binding to the libyaml C library"; + 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 67fc927b939f..c65463ed4d31 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1293,6 +1293,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); xssSanitize = callPackage ../development/libraries/haskell/xss-sanitize {}; + yaml = callPackage ../development/libraries/haskell/yaml {}; + yap = callPackage ../development/libraries/haskell/yap {}; yesod = callPackage ../development/libraries/haskell/yesod {};