summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2022-02-09 21:55:31 -0800
committerJonathan Ringer <jonringer117@gmail.com>2022-02-09 21:55:31 -0800
commita6e27baee2e21079d28dccc8b04f6c0011bda2c6 (patch)
tree36dcdd9d33797b1ab6eb2be885e1d693c48927ec /pkgs/development/libraries
parentd01d0835c0576083a6f827221c6db0ce85ad3b53 (diff)
downloadnixpkgs-a6e27baee2e21079d28dccc8b04f6c0011bda2c6.tar
nixpkgs-a6e27baee2e21079d28dccc8b04f6c0011bda2c6.tar.gz
nixpkgs-a6e27baee2e21079d28dccc8b04f6c0011bda2c6.tar.bz2
nixpkgs-a6e27baee2e21079d28dccc8b04f6c0011bda2c6.tar.lz
nixpkgs-a6e27baee2e21079d28dccc8b04f6c0011bda2c6.tar.xz
nixpkgs-a6e27baee2e21079d28dccc8b04f6c0011bda2c6.tar.zst
nixpkgs-a6e27baee2e21079d28dccc8b04f6c0011bda2c6.zip
libcangjie: fix src
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/libcangjie/default.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/development/libraries/libcangjie/default.nix b/pkgs/development/libraries/libcangjie/default.nix
index b0c02eaa6bc..73277d30de3 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 ];