diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2022-02-09 21:55:31 -0800 |
---|---|---|
committer | Jonathan Ringer <jonringer117@gmail.com> | 2022-02-09 21:55:31 -0800 |
commit | a6e27baee2e21079d28dccc8b04f6c0011bda2c6 (patch) | |
tree | 36dcdd9d33797b1ab6eb2be885e1d693c48927ec | |
parent | d01d0835c0576083a6f827221c6db0ce85ad3b53 (diff) |
libcangjie: fix src
-rw-r--r-- | pkgs/development/libraries/libcangjie/default.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/development/libraries/libcangjie/default.nix b/pkgs/development/libraries/libcangjie/default.nix index b0c02eaa6bcf3..73277d30de3cb 100644 --- a/pkgs/development/libraries/libcangjie/default.nix +++ b/pkgs/development/libraries/libcangjie/default.nix @@ -1,15 +1,14 @@ -{ lib, stdenv, autoconf, automake, libtool, m4, fetchFromGitLab, bash, pkg-config, sqlite }: +{ lib, stdenv, autoconf, automake, libtool, m4, fetchurl, bash, pkg-config, sqlite }: stdenv.mkDerivation rec { pname = "libcangjie"; version = "1.4_rev_${rev}"; rev = "a73c1d8783f7b6526fd9b2cc44a669ffa5518d3d"; - src = fetchFromGitLab { - owner = "Cangjians"; - repo = "libcangjie"; - inherit rev; - sha256 = "sha256-R7WqhxciaTxhTiwPp2EUNTOh477gi/Pj3VpMtat5qXw="; + # fetchFromGitLab isn't working for some reason + src = fetchurl { + url = "https://gitlab.freedesktop.org/cangjie/libcangjie/-/archive/a73c1d8783f7b6526fd9b2cc44a669ffa5518d3d/libcangjie-a73c1d8783f7b6526fd9b2cc44a669ffa5518d3d.tar.gz"; + sha256 = "sha256-j5IQ0hBefoF8p966YrfZgYCw7ht5twJhYi4l0NneukQ="; }; nativeBuildInputs = [ pkg-config ]; |