2024-01-02 11:29:13 +00:00
|
|
|
{ mkDerivation, base, bytestring, cabal-install-parsers
|
2024-06-05 15:53:02 +00:00
|
|
|
, Cabal-syntax, containers, directory, fetchFromGitea, filepath
|
2024-01-02 11:29:13 +00:00
|
|
|
, generic-lens-lite, lib, mtl, optparse-applicative, parsec, pretty
|
2024-06-05 15:53:02 +00:00
|
|
|
, regex-applicative, frontmatter
|
2023-11-16 04:20:00 +00:00
|
|
|
}:
|
2024-06-05 15:53:02 +00:00
|
|
|
mkDerivation rec {
|
2024-01-02 11:29:13 +00:00
|
|
|
pname = "changelog-d";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "1.0";
|
|
|
|
src = fetchFromGitea {
|
|
|
|
domain = "codeberg.org";
|
|
|
|
owner = "fgaz";
|
|
|
|
repo = "changelog-d";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-cXczIJb5z+Obq13F90oWcgSN1JAVqRWWw4jp2HT5G5Y=";
|
2023-11-16 04:20:00 +00:00
|
|
|
};
|
2024-01-02 11:29:13 +00:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
libraryHaskellDepends = [
|
|
|
|
base bytestring cabal-install-parsers Cabal-syntax containers
|
|
|
|
directory filepath generic-lens-lite mtl parsec pretty
|
2024-06-05 15:53:02 +00:00
|
|
|
regex-applicative frontmatter
|
2024-01-02 11:29:13 +00:00
|
|
|
];
|
|
|
|
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";
|
|
|
|
}
|