Merge pull request #104300 from Atemu/mlterm-new-upstream

mlterm: fetch from GitHub instead of Sourceforge
This commit is contained in:
Ryan Mulligan 2020-11-19 14:11:30 -08:00 committed by GitHub
commit b036f389fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -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 ];