1{
2 mkDerivation,
3 base,
4 bytestring,
5 cabal-install-parsers,
6 Cabal-syntax,
7 containers,
8 directory,
9 fetchFromGitea,
10 filepath,
11 generic-lens-lite,
12 lib,
13 mtl,
14 optparse-applicative,
15 parsec,
16 pretty,
17 regex-applicative,
18 frontmatter,
19}:
20mkDerivation rec {
21 pname = "changelog-d";
22 version = "1.0.1";
23 src = fetchFromGitea {
24 domain = "codeberg.org";
25 owner = "fgaz";
26 repo = "changelog-d";
27 rev = "v${version}";
28 hash = "sha256-4TbZD4pXP/5q+t3rTcdCsY5APWIcxhCMM+WsNO/6ke4=";
29 };
30 isLibrary = false;
31 isExecutable = true;
32 libraryHaskellDepends = [
33 base
34 bytestring
35 cabal-install-parsers
36 Cabal-syntax
37 containers
38 directory
39 filepath
40 generic-lens-lite
41 mtl
42 parsec
43 pretty
44 regex-applicative
45 frontmatter
46 ];
47 executableHaskellDepends = [
48 base
49 bytestring
50 Cabal-syntax
51 directory
52 filepath
53 optparse-applicative
54 ];
55 doHaddock = false;
56 description = "Concatenate changelog entries into a single one";
57 license = lib.licenses.gpl3Plus;
58 mainProgram = "changelog-d";
59}