diff options
Diffstat (limited to 'pkgs/development/misc/haskell/changelog-d/default.nix')
-rw-r--r-- | pkgs/development/misc/haskell/changelog-d/default.nix | 21 |
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 |