2023-05-16 00:53:52 +00:00
|
|
|
{ mkDerivation
|
2023-10-01 13:20:49 +00:00
|
|
|
, fetchFromGitHub
|
2023-05-16 00:53:52 +00:00
|
|
|
, aeson
|
|
|
|
, base
|
2023-10-01 13:20:49 +00:00
|
|
|
, base64
|
2023-05-16 00:53:52 +00:00
|
|
|
, bytestring
|
|
|
|
, containers
|
|
|
|
, directory
|
|
|
|
, hsyslog
|
|
|
|
, http-conduit
|
|
|
|
, lib
|
|
|
|
, network-uri
|
|
|
|
, optparse-applicative
|
|
|
|
, pretty-simple
|
|
|
|
, process
|
2023-10-01 13:20:49 +00:00
|
|
|
, random
|
|
|
|
, strings
|
2023-05-16 00:53:52 +00:00
|
|
|
, template-haskell
|
|
|
|
, text
|
|
|
|
, time
|
|
|
|
, twain
|
2023-10-01 13:20:49 +00:00
|
|
|
, unix
|
2023-05-16 00:53:52 +00:00
|
|
|
, utf8-string
|
|
|
|
, warp
|
|
|
|
, yaml
|
|
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "mailctl";
|
2023-10-01 13:20:49 +00:00
|
|
|
version = "0.9.2";
|
2023-05-16 00:53:52 +00:00
|
|
|
|
2023-10-01 13:20:49 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pdobsan";
|
2023-05-16 00:53:52 +00:00
|
|
|
repo = "mailctl";
|
|
|
|
rev = version;
|
2023-10-01 13:20:49 +00:00
|
|
|
hash = "sha256-frT+fRJpixSvpb2+C34Z47zbMqvmDHdESItXb9YVbfU=";
|
2023-05-16 00:53:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
|
|
|
|
libraryHaskellDepends = [
|
|
|
|
aeson
|
|
|
|
base
|
2023-10-01 13:20:49 +00:00
|
|
|
base64
|
2023-05-16 00:53:52 +00:00
|
|
|
bytestring
|
|
|
|
containers
|
|
|
|
directory
|
|
|
|
hsyslog
|
|
|
|
http-conduit
|
|
|
|
network-uri
|
|
|
|
optparse-applicative
|
|
|
|
pretty-simple
|
|
|
|
process
|
2023-10-01 13:20:49 +00:00
|
|
|
random
|
|
|
|
strings
|
2023-05-16 00:53:52 +00:00
|
|
|
template-haskell
|
|
|
|
text
|
|
|
|
time
|
|
|
|
twain
|
2023-10-01 13:20:49 +00:00
|
|
|
unix
|
2023-05-16 00:53:52 +00:00
|
|
|
utf8-string
|
|
|
|
warp
|
|
|
|
yaml
|
|
|
|
];
|
|
|
|
|
|
|
|
executableHaskellDepends = [
|
|
|
|
aeson
|
|
|
|
base
|
2023-10-01 13:20:49 +00:00
|
|
|
base64
|
2023-05-16 00:53:52 +00:00
|
|
|
bytestring
|
|
|
|
containers
|
|
|
|
directory
|
|
|
|
hsyslog
|
|
|
|
http-conduit
|
|
|
|
network-uri
|
|
|
|
optparse-applicative
|
|
|
|
pretty-simple
|
|
|
|
process
|
2023-10-01 13:20:49 +00:00
|
|
|
random
|
|
|
|
strings
|
2023-05-16 00:53:52 +00:00
|
|
|
template-haskell
|
|
|
|
text
|
|
|
|
time
|
|
|
|
twain
|
2023-10-01 13:20:49 +00:00
|
|
|
unix
|
2023-05-16 00:53:52 +00:00
|
|
|
utf8-string
|
|
|
|
warp
|
|
|
|
yaml
|
|
|
|
];
|
|
|
|
|
|
|
|
description = "OAuth2 tool for mail clients";
|
2023-10-01 13:20:49 +00:00
|
|
|
homepage = "https://github.com/pdobsan/mailctl";
|
|
|
|
changelog = "https://github.com/pdobsan/mailctl/releases/tag/${version}";
|
2023-05-16 00:53:52 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ aidalgol ];
|
|
|
|
mainProgram = "mailctl";
|
|
|
|
}
|