summary refs log tree commit diff
path: root/pkgs/development/tools/haskell/cabal2ghci/default.nix
blob: cd7bf9dc9d16cd65f4e6211e0160ea5407f18a03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ cabal, Cabal, cmdargs, stylishHaskell, systemFileio
, systemFilepath, text, unorderedContainers, yaml
}:

cabal.mkDerivation (self: {
  pname = "cabal2ghci";
  version = "0.0.1.0";
  sha256 = "0l5225gwm6j25694cp94d4z31i1p68pq6js3psbr7m204q409dr5";
  isLibrary = false;
  isExecutable = true;
  buildDepends = [
    Cabal cmdargs stylishHaskell systemFileio systemFilepath text
    unorderedContainers yaml
  ];
  jailbreak = true;
  meta = {
    description = "A tool to generate .ghci file from .cabal";
    license = self.stdenv.lib.licenses.bsd3;
    platforms = self.ghc.meta.platforms;
  };
})