nixpkgs/pkgs/development/libraries/haskell/djinn/default.nix

22 lines
666 B
Nix
Raw Normal View History

# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, haskeline, mtl }:
cabal.mkDerivation (self: {
pname = "djinn";
version = "2011.7.23";
sha256 = "14748pqzrd1r9jg2vc9v232pi38q99l9zdlia6ashm2v871hp1xv";
isLibrary = false;
isExecutable = true;
buildDepends = [ haskeline mtl ];
2014-07-16 07:27:39 +01:00
preConfigure = self.stdenv.lib.optionalString self.stdenv.isDarwin ''
sed -i 's/-Wall -optl-Wl/-Wall/' djinn.cabal
'';
meta = {
homepage = "http://www.augustsson.net/Darcs/Djinn/";
description = "Generate Haskell code from a type";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})