rio: 0.0.36 -> 0.0.37
[NixPkgs.git] / pkgs / tools / networking / mailctl / default.nix
blob2e623326928077a5fb7a3a9bb33ebc39beb0be0c
1 { mkDerivation
2 , fetchFromGitHub
3 , aeson
4 , base
5 , base64
6 , bytestring
7 , containers
8 , directory
9 , hsyslog
10 , http-conduit
11 , lib
12 , network-uri
13 , optparse-applicative
14 , pretty-simple
15 , process
16 , random
17 , strings
18 , template-haskell
19 , text
20 , time
21 , twain
22 , unix
23 , utf8-string
24 , warp
25 , yaml
27 mkDerivation rec {
28   pname = "mailctl";
29   version = "0.9.2";
31   src = fetchFromGitHub {
32     owner = "pdobsan";
33     repo = "mailctl";
34     rev = version;
35     hash = "sha256-frT+fRJpixSvpb2+C34Z47zbMqvmDHdESItXb9YVbfU=";
36   };
38   isLibrary = true;
39   isExecutable = true;
41   libraryHaskellDepends = [
42     aeson
43     base
44     base64
45     bytestring
46     containers
47     directory
48     hsyslog
49     http-conduit
50     network-uri
51     optparse-applicative
52     pretty-simple
53     process
54     random
55     strings
56     template-haskell
57     text
58     time
59     twain
60     unix
61     utf8-string
62     warp
63     yaml
64   ];
66   executableHaskellDepends = [
67     aeson
68     base
69     base64
70     bytestring
71     containers
72     directory
73     hsyslog
74     http-conduit
75     network-uri
76     optparse-applicative
77     pretty-simple
78     process
79     random
80     strings
81     template-haskell
82     text
83     time
84     twain
85     unix
86     utf8-string
87     warp
88     yaml
89   ];
91   description = "OAuth2 tool for mail clients";
92   homepage = "https://github.com/pdobsan/mailctl";
93   changelog = "https://github.com/pdobsan/mailctl/releases/tag/${version}";
94   license = lib.licenses.bsd3;
95   maintainers = with lib.maintainers; [ aidalgol ];
96   mainProgram = "mailctl";