mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
mailctl: init at 0.8.8
This commit is contained in:
parent
b9f18832c1
commit
49de589aea
85
pkgs/tools/networking/mailctl/default.nix
Normal file
85
pkgs/tools/networking/mailctl/default.nix
Normal file
@ -0,0 +1,85 @@
|
||||
{ mkDerivation
|
||||
, fetchFromSourcehut
|
||||
, aeson
|
||||
, base
|
||||
, bytestring
|
||||
, containers
|
||||
, directory
|
||||
, hsyslog
|
||||
, http-conduit
|
||||
, lib
|
||||
, network-uri
|
||||
, optparse-applicative
|
||||
, pretty-simple
|
||||
, process
|
||||
, template-haskell
|
||||
, text
|
||||
, time
|
||||
, twain
|
||||
, utf8-string
|
||||
, warp
|
||||
, yaml
|
||||
}:
|
||||
mkDerivation rec {
|
||||
pname = "mailctl";
|
||||
version = "0.8.8";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~petrus";
|
||||
repo = "mailctl";
|
||||
rev = version;
|
||||
hash = "sha256-aFt6y2DzreROLcOLU8ynnSSVQW840T5wFqSRdSODQX4=";
|
||||
};
|
||||
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
|
||||
libraryHaskellDepends = [
|
||||
aeson
|
||||
base
|
||||
bytestring
|
||||
containers
|
||||
directory
|
||||
hsyslog
|
||||
http-conduit
|
||||
network-uri
|
||||
optparse-applicative
|
||||
pretty-simple
|
||||
process
|
||||
template-haskell
|
||||
text
|
||||
time
|
||||
twain
|
||||
utf8-string
|
||||
warp
|
||||
yaml
|
||||
];
|
||||
|
||||
executableHaskellDepends = [
|
||||
aeson
|
||||
base
|
||||
bytestring
|
||||
containers
|
||||
directory
|
||||
hsyslog
|
||||
http-conduit
|
||||
network-uri
|
||||
optparse-applicative
|
||||
pretty-simple
|
||||
process
|
||||
template-haskell
|
||||
text
|
||||
time
|
||||
twain
|
||||
utf8-string
|
||||
warp
|
||||
yaml
|
||||
];
|
||||
|
||||
description = "OAuth2 tool for mail clients";
|
||||
homepage = "https://sr.ht/~petrus/mailctl/";
|
||||
changelog = "https://git.sr.ht/~petrus/mailctl/refs/${version}";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ aidalgol ];
|
||||
mainProgram = "mailctl";
|
||||
}
|
@ -2292,6 +2292,9 @@ with pkgs;
|
||||
|
||||
mainsail = callPackage ../applications/misc/mainsail { };
|
||||
|
||||
# Does not build with default Haskell version because upstream uses a newer Cabal version.
|
||||
mailctl = haskell.packages.ghc94.callPackage ../tools/networking/mailctl { };
|
||||
|
||||
mame = libsForQt5.callPackage ../applications/emulators/mame { };
|
||||
|
||||
mame-tools = lib.addMetaAttrs {
|
||||
|
Loading…
Reference in New Issue
Block a user