fribidi: update source

The old site redirects to GitHub.
This commit is contained in:
Yegor Timoshenko 2017-12-15 23:04:53 +00:00 committed by Orivej Desh
parent 0990b2c7fd
commit 951c5d3b7d

View File

@ -1,22 +1,26 @@
{stdenv, fetchurl}: { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "fribidi-${version}"; name = "fribidi-${version}";
version = "0.19.7"; version = "0.19.7";
src = fetchurl { src = fetchFromGitHub {
url = "http://fribidi.org/download/${name}.tar.bz2"; owner = "fribidi";
sha256 = "13jsb5qadlhsaxkbrb49nqslmbh904vvzhsm5mm2ghmv29i2l8h8"; repo = "fribidi";
rev = version;
sha256 = "10q5jfch5qzrj2w4fbkr086ank66plx8hp7ra9a01irj80pbk96d";
}; };
hardeningDisable = [ "format" ]; nativeBuildInputs = [ autoreconfHook pkgconfig ];
# Configure script checks for glib, but it is only used for tests.
outputs = [ "out" "devdoc" ]; outputs = [ "out" "devdoc" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = http://fribidi.org/; homepage = https://github.com/fribidi/fribidi;
description = "GNU implementation of the Unicode Bidirectional Algorithm (bidi)"; description = "GNU implementation of the Unicode Bidirectional Algorithm (bidi)";
license = licenses.gpl2; license = licenses.lgpl21;
platforms = platforms.unix; platforms = platforms.unix;
}; };
} }