1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 09:31:01 +00:00
nixpkgs/pkgs/development/libraries/haskell/X11-xft/default.nix
Peter Simons ea5a993ac4 haskell-X11-xft: cabal2nix can re-generate this expression now
svn path=/nixpkgs/trunk/; revision=28826
2011-08-26 10:29:06 +00:00

22 lines
701 B
Nix

{ cabal, fontconfig, freetype, libXft, pkgconfig, utf8String, X11
}:
cabal.mkDerivation (self: {
pname = "X11-xft";
version = "0.3";
sha256 = "48892d0d0a90d5b47658877facabf277bf8466b7388eaf6ce163b843432a567d";
buildDepends = [ utf8String X11 ];
extraLibraries = [ fontconfig freetype pkgconfig ];
pkgconfigDepends = [ libXft ];
configureFlags = "--extra-include-dirs=${freetype}/include/freetype2";
meta = {
description = "Bindings to the Xft, X Free Type interface library, and some Xrender parts";
license = "LGPL";
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})