diff options
author | Atemu <atemu.main@gmail.com> | 2020-11-19 18:23:19 +0100 |
---|---|---|
committer | Atemu <atemu.main@gmail.com> | 2020-11-19 18:24:34 +0100 |
commit | 3a6f097fb82faa6cb29c1beff2129f2bc59ce2e3 (patch) | |
tree | 20c9d1cc10ac4e9776644d304afedbc3face5783 /pkgs/applications | |
parent | 6de789ea9bfee9b63baef72ce30300e6f4a94bdc (diff) |
mlterm: fetch from GitHub instead of Sourceforge
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/terminal-emulators/mlterm/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/applications/terminal-emulators/mlterm/default.nix b/pkgs/applications/terminal-emulators/mlterm/default.nix index e3e8fcd32a5d..9c01430d6dfc 100644 --- a/pkgs/applications/terminal-emulators/mlterm/default.nix +++ b/pkgs/applications/terminal-emulators/mlterm/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchurl, pkgconfig, autoconf, makeDesktopItem +{ stdenv, lib, fetchFromGitHub, pkgconfig, autoconf, makeDesktopItem , libX11, gdk-pixbuf, cairo, libXft, gtk3, vte , harfbuzz #substituting glyphs with opentype fonts , fribidi, m17n_lib #bidi and encoding @@ -12,9 +12,11 @@ stdenv.mkDerivation rec { pname = "mlterm"; version = "3.9.1"; - src = fetchurl { - url = "mirror://sourceforge/project/mlterm/01release/${pname}-${version}/${pname}-${version}.tar.gz"; - sha256 = "03fnynwv7d1aicwk2rp31sgncv5m65agvygqvsgn59v9di40gnnb"; + src = fetchFromGitHub { + owner = "arakiken"; + repo = pname; + rev = "rel-${lib.replaceStrings [ "." ] [ "_" ] version}"; # 3.9.1 -> rel-3_9_1 + sha256 = "1hh196kz2n3asv8r8r2bdk5b2w93zq7rw4880ciiq1554h0ib7fj"; }; nativeBuildInputs = [ pkgconfig autoconf wrapGAppsHook ]; |