3
0
Fork 0
forked from mirrors/nixpkgs

Add JuicyPixels Haskell package

Forgot to attach the Nix expression for that package. It is generated by
cabal2nix and works fine on my machine (i686, ghc7.4.1).
This commit is contained in:
Alexander Foremny 2012-07-11 21:55:39 +02:00
parent 978f18b931
commit b9e1a3f109

View file

@ -0,0 +1,18 @@
{ cabal, cereal, deepseq, mtl, primitive, transformers, vector
, zlib
}:
cabal.mkDerivation (self: {
pname = "JuicyPixels";
version = "1.3";
sha256 = "07wljfag4ylw16wdi7znjb61pfihdik5d7p4h2lmz6xirm4mjzrm";
buildDepends = [
cereal deepseq mtl primitive transformers vector zlib
];
meta = {
homepage = "https://github.com/Twinside/Juicy.Pixels";
description = "Picture loading/serialization (in png, jpeg and bitmap)";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})