nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 mkDerivation,
3 base,
4 bytestring,
5 cabal-install-parsers,
6 Cabal-syntax,
7 containers,
8 directory,
9 fetchFromCodeberg,
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.2";
23 src = fetchFromCodeberg {
24 owner = "fgaz";
25 repo = "changelog-d";
26 rev = "v${version}";
27 hash = "sha256-nPvuAkcFfK/NKXNBv8D2ePnB88WnjvmAIbzQHVvEXtk=";
28 };
29 isLibrary = false;
30 isExecutable = true;
31 libraryHaskellDepends = [
32 base
33 bytestring
34 cabal-install-parsers
35 Cabal-syntax
36 containers
37 directory
38 filepath
39 generic-lens-lite
40 mtl
41 parsec
42 pretty
43 regex-applicative
44 frontmatter
45 ];
46 executableHaskellDepends = [
47 base
48 bytestring
49 Cabal-syntax
50 directory
51 filepath
52 optparse-applicative
53 ];
54 doHaddock = false;
55 description = "Concatenate changelog entries into a single one";
56 license = lib.licenses.gpl3Plus;
57 mainProgram = "changelog-d";
58}