tvl-depot/users/Profpatsch/my-prelude/default.nix
Profpatsch 57bab040ed chore(users/Profpatsch): move utils to my-prelude
I want to use these in multiple projects.

Change-Id: I5dfdad8614bc5835e59df06f724de78acae78d42
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8971
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
2023-07-16 20:15:49 +00:00

50 lines
1.3 KiB
Nix

{ depot, pkgs, lib, ... }:
pkgs.haskellPackages.mkDerivation {
pname = "my-prelude";
version = "0.0.1-unreleased";
src = depot.users.Profpatsch.exactSource ./. [
./my-prelude.cabal
./src/Aeson.hs
./src/MyPrelude.hs
./src/Pretty.hs
./src/RunCommand.hs
./src/Test.hs
./src/Tool.hs
./src/ValidationParseT.hs
./src/Postgres/Decoder.hs
./src/Postgres/MonadPostgres.hs
];
isLibrary = true;
libraryHaskellDepends = [
pkgs.haskellPackages.pa-prelude
pkgs.haskellPackages.pa-label
pkgs.haskellPackages.pa-error-tree
pkgs.haskellPackages.pa-json
pkgs.haskellPackages.aeson-better-errors
pkgs.haskellPackages.ansi-terminal
pkgs.haskellPackages.error
pkgs.haskellPackages.hscolour
pkgs.haskellPackages.hspec
pkgs.haskellPackages.hspec-expectations-pretty-diff
pkgs.haskellPackages.monad-logger
pkgs.haskellPackages.nicify-lib
pkgs.haskellPackages.postgresql-simple
pkgs.haskellPackages.profunctors
pkgs.haskellPackages.PyF
pkgs.haskellPackages.semigroupoids
pkgs.haskellPackages.these
pkgs.haskellPackages.typed-process
pkgs.haskellPackages.unliftio
pkgs.haskellPackages.validation-selective
pkgs.haskellPackages.vector
];
license = lib.licenses.mit;
}