about summary refs log blame commit diff
path: root/users/Profpatsch/my-prelude/default.nix
blob: 4d854b194b39221d84f79d25031528664fa9c524 (plain) (tree)
1
2
3
4
5
6
7
8
9





                                   


                                                
              
               

                        
                   
             
    



                           

                                            






                                             

                                                       

                                   
                                      
                                      
                               




                             
{ depot, pkgs, lib, ... }:

pkgs.haskellPackages.mkDerivation {
  pname = "my-prelude";
  version = "0.0.1-unreleased";

  src = depot.users.Profpatsch.exactSource ./. [
    ./my-prelude.cabal
    ./MyPrelude.hs
    ./Label.hs
    ./Pretty.hs
    ./Data/Error/Tree.hs
    ./Aeson.hs
    ./RunCommand.hs
    ./Test.hs
  ];

  isLibrary = true;

  libraryHaskellDepends = [
    pkgs.haskellPackages.aeson
    pkgs.haskellPackages.aeson-better-errors
    pkgs.haskellPackages.PyF
    pkgs.haskellPackages.errors
    pkgs.haskellPackages.profunctors
    pkgs.haskellPackages.semigroupoids
    pkgs.haskellPackages.these
    pkgs.haskellPackages.validation-selective
    pkgs.haskellPackages.error
    pkgs.haskellPackages.hspec
    pkgs.haskellPackages.hspec-expectations-pretty-diff
    pkgs.haskellPackages.hscolour
    pkgs.haskellPackages.nicify-lib
    pkgs.haskellPackages.typed-process
    pkgs.haskellPackages.ansi-terminal
    pkgs.haskellPackages.vector
  ];

  license = lib.licenses.mit;

}