about summary refs log tree commit diff
path: root/pkgs/development/misc/haskell/changelog-d/default.nix
blob: 8f44ed950067eede8d11124ed64c1abb7558e912 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ mkDerivation, base, bytestring, cabal-install-parsers
, Cabal-syntax, containers, directory, fetchFromGitea, filepath
, generic-lens-lite, lib, mtl, optparse-applicative, parsec, pretty
, regex-applicative, frontmatter
}:
mkDerivation rec {
  pname = "changelog-d";
  version = "1.0";
  src = fetchFromGitea {
    domain = "codeberg.org";
    owner = "fgaz";
    repo = "changelog-d";
    rev = "v${version}";
    hash = "sha256-cXczIJb5z+Obq13F90oWcgSN1JAVqRWWw4jp2HT5G5Y=";
  };
  isLibrary = false;
  isExecutable = true;
  libraryHaskellDepends = [
    base bytestring cabal-install-parsers Cabal-syntax containers
    directory filepath generic-lens-lite mtl parsec pretty
    regex-applicative frontmatter
  ];
  executableHaskellDepends = [
    base bytestring Cabal-syntax directory filepath
    optparse-applicative
  ];
  doHaddock = false;
  description = "Concatenate changelog entries into a single one";
  license = lib.licenses.gpl3Plus;
  mainProgram = "changelog-d";
}