tvl-depot/users/Profpatsch/my-prelude/default.nix
Profpatsch 8c7372406e chore(users/Profpatsch/my-prelude): vendor pa-json
Want to be able to make changes with low overhead, and having it in a
separate library is just annoying.

Change-Id: I30b76885d8e0e6ebaefe9506cf36672783ed4988
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12577
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
2024-10-05 13:49:38 +00:00

54 lines
1.4 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/Json.hs
./src/Json/Enc.hs
./src/Arg.hs
./src/AtLeast.hs
./src/MyPrelude.hs
./src/Test.hs
./src/Parse.hs
./src/Pretty.hs
./src/Seconds.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.pa-pretty
pkgs.haskellPackages.pa-field-parser
pkgs.haskellPackages.aeson-better-errors
pkgs.haskellPackages.foldl
pkgs.haskellPackages.resource-pool
pkgs.haskellPackages.error
pkgs.haskellPackages.hs-opentelemetry-api
pkgs.haskellPackages.hspec
pkgs.haskellPackages.hspec-expectations-pretty-diff
pkgs.haskellPackages.monad-logger
pkgs.haskellPackages.postgresql-simple
pkgs.haskellPackages.profunctors
pkgs.haskellPackages.PyF
pkgs.haskellPackages.semigroupoids
pkgs.haskellPackages.these
pkgs.haskellPackages.unliftio
pkgs.haskellPackages.validation-selective
pkgs.haskellPackages.vector
];
license = lib.licenses.mit;
}