diff --git a/pkgs/development/libraries/haskell/gnuidn/default.nix b/pkgs/development/libraries/haskell/gnuidn/default.nix new file mode 100644 index 000000000000..6ae78cf49b6a --- /dev/null +++ b/pkgs/development/libraries/haskell/gnuidn/default.nix @@ -0,0 +1,17 @@ +{ cabal, c2hs, libidn, text }: + +cabal.mkDerivation (self: { + pname = "gnuidn"; + version = "0.2"; + sha256 = "0xk72p3z1lwlmab0jcf7m48p5pncgz00hb7l96naz1gdkbq7xizd"; + buildDepends = [ text ]; + buildTools = [ c2hs ]; + extraLibraries = [ libidn ]; + pkgconfigDepends = [ libidn ]; + meta = { + homepage = "http://john-millikin.com/software/bindings/gnuidn/"; + description = "Bindings for GNU IDN"; + license = self.stdenv.lib.licenses.gpl3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 9a0f1d6d307b..8a7b7f17b2e7 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -862,6 +862,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); }; GLUT = self.GLUT_2_3_1_0; + gnuidn = callPackage ../development/libraries/haskell/gnuidn {}; + gtk = callPackage ../development/libraries/haskell/gtk { inherit (pkgs) gtk; libc = pkgs.stdenv.gcc.libc;