about summary refs log tree commit diff
path: root/pkgs/development/misc
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2024-06-03 18:33:11 +0200
committerGitHub <noreply@github.com>2024-06-03 18:33:11 +0200
commit28bb1f896ef42c27dcda959a4ca27e37be3ad4e2 (patch)
tree98c5db64487bf7d17a2876888b5ad4ccde2fffa3 /pkgs/development/misc
parent3eedcd337f04bd6ede0f08af10c22f82949e0f03 (diff)
parent31a42541af1866336297216b421d7abbc3566018 (diff)
Merge pull request #312442 from fgaz/changelog-d/1.0
changelog-d: 0.1-git-2816ddb -> 1.0
Diffstat (limited to 'pkgs/development/misc')
-rw-r--r--pkgs/development/misc/haskell/changelog-d/default.nix21
1 files changed, 11 insertions, 10 deletions
diff --git a/pkgs/development/misc/haskell/changelog-d/default.nix b/pkgs/development/misc/haskell/changelog-d/default.nix
index 7abc707540ce4..8f44ed950067e 100644
--- a/pkgs/development/misc/haskell/changelog-d/default.nix
+++ b/pkgs/development/misc/haskell/changelog-d/default.nix
@@ -1,23 +1,24 @@
 { mkDerivation, base, bytestring, cabal-install-parsers
-, Cabal-syntax, containers, directory, fetchgit, filepath
+, Cabal-syntax, containers, directory, fetchFromGitea, filepath
 , generic-lens-lite, lib, mtl, optparse-applicative, parsec, pretty
-, regex-applicative
+, regex-applicative, frontmatter
 }:
-mkDerivation {
+mkDerivation rec {
   pname = "changelog-d";
-  version = "0.1";
-  src = fetchgit {
-    url = "https://codeberg.org/fgaz/changelog-d";
-    sha256 = "0r0gr3bl88am9jivic3i8lfi9l5v1dj7xx4fvw6hhy3wdx7z50z7";
-    rev = "2816ddb78cec8b7fa4462c25028437ebfe3ad314";
-    fetchSubmodules = true;
+  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
+    regex-applicative frontmatter
   ];
   executableHaskellDepends = [
     base bytestring Cabal-syntax directory filepath