2023-01-01 22:44:02 +01:00
|
|
|
{ depot, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
let
|
2023-01-15 21:20:40 +01:00
|
|
|
mailbox-org = pkgs.haskellPackages.mkDerivation {
|
|
|
|
pname = "mailbox-org";
|
|
|
|
version = "0.1.0";
|
2023-01-06 18:42:19 +01:00
|
|
|
|
2023-01-15 21:20:40 +01:00
|
|
|
src = depot.users.Profpatsch.exactSource ./. [
|
|
|
|
./mailbox-org.cabal
|
2023-08-06 12:46:50 +02:00
|
|
|
./src/AesonQQ.hs
|
2023-01-15 21:20:40 +01:00
|
|
|
./MailboxOrg.hs
|
|
|
|
];
|
2023-01-08 23:49:32 +01:00
|
|
|
|
2023-01-15 21:20:40 +01:00
|
|
|
libraryHaskellDepends = [
|
|
|
|
depot.users.Profpatsch.my-prelude
|
|
|
|
depot.users.Profpatsch.execline.exec-helpers-hs
|
|
|
|
depot.users.Profpatsch.arglib.netencode.haskell
|
2023-05-28 17:20:48 +02:00
|
|
|
pkgs.haskellPackages.pa-prelude
|
2023-05-28 20:58:20 +02:00
|
|
|
pkgs.haskellPackages.pa-label
|
|
|
|
pkgs.haskellPackages.pa-error-tree
|
2023-01-15 21:20:40 +01:00
|
|
|
pkgs.haskellPackages.aeson
|
|
|
|
pkgs.haskellPackages.http-conduit
|
|
|
|
pkgs.haskellPackages.aeson-better-errors
|
2023-01-08 23:49:32 +01:00
|
|
|
];
|
2023-01-01 22:44:02 +01:00
|
|
|
|
2023-01-15 21:20:40 +01:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
|
2023-01-01 22:44:02 +01:00
|
|
|
|
|
|
|
in
|
2023-01-15 21:20:40 +01:00
|
|
|
lib.pipe mailbox-org [
|
|
|
|
(x: (depot.nix.getBins x [ "mailbox-org" ]).mailbox-org)
|
|
|
|
(depot.users.Profpatsch.arglib.netencode.with-args "mailbox-org" {
|
|
|
|
BINS = depot.nix.getBins pkgs.dovecot_pigeonhole [ "sieve-test" ];
|
|
|
|
})
|
|
|
|
]
|