diff options
author | Felix Buehler <account@buehler.rocks> | 2022-01-04 16:38:13 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2022-01-05 00:09:39 +0100 |
commit | dc2909ec58ee6e46872d4249af92f3022cb3fc49 (patch) | |
tree | 17c48f81721aa209a6b52606b5032e9b4940b121 /pkgs/development/libraries | |
parent | 33d3282770622a68d0597039a2238238db9ccdf7 (diff) |
libcangjie: switch to fetchFromGitLab & update homepage
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/libcangjie/default.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/development/libraries/libcangjie/default.nix b/pkgs/development/libraries/libcangjie/default.nix index c6bbbcdb61ab0..b0c02eaa6bcf3 100644 --- a/pkgs/development/libraries/libcangjie/default.nix +++ b/pkgs/development/libraries/libcangjie/default.nix @@ -1,13 +1,15 @@ -{ lib, stdenv, autoconf, automake, libtool, m4, fetchurl, bash, pkg-config, sqlite }: +{ lib, stdenv, autoconf, automake, libtool, m4, fetchFromGitLab, bash, pkg-config, sqlite }: stdenv.mkDerivation rec { pname = "libcangjie"; version = "1.4_rev_${rev}"; rev = "a73c1d8783f7b6526fd9b2cc44a669ffa5518d3d"; - src = fetchurl { - url = "https://github.com/Cangjians/libcangjie/archive/${rev}.tar.gz"; - sha256 = "0i5svvcx099fc9hh5dvr3gpb1041v6vn5fnylxy82zjy239114lg"; + src = fetchFromGitLab { + owner = "Cangjians"; + repo = "libcangjie"; + inherit rev; + sha256 = "sha256-R7WqhxciaTxhTiwPp2EUNTOh477gi/Pj3VpMtat5qXw="; }; nativeBuildInputs = [ pkg-config ]; @@ -26,7 +28,7 @@ stdenv.mkDerivation rec { longDescription = '' libcangjie is a library implementing the Cangjie input method. ''; - homepage = "http://cangjians.github.io/projects/libcangjie/"; + homepage = "https://gitlab.freedesktop.org/cangjie/libcangjie"; license = lib.licenses.lgpl3Plus; maintainers = [ lib.maintainers.linquize ]; |