about summary refs log tree commit diff
path: root/pkgs/development/misc
diff options
context:
space:
mode:
authorFrancesco Gazzetta <fgaz@fgaz.me>2024-05-17 15:45:44 +0200
committerFrancesco Gazzetta <fgaz@fgaz.me>2024-05-17 15:45:44 +0200
commit31a42541af1866336297216b421d7abbc3566018 (patch)
tree64429398bb83d209b60e9aba2901cc8ca6fde0d5 /pkgs/development/misc
parent055b3296809e5b9ad37b20ac9917e2b24fc79cce (diff)
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