1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 02:51:18 +00:00

fribidi: build with meson, clean-up

This commit is contained in:
Anton-Latukha 2018-06-02 01:01:37 +03:00
parent 930db86830
commit 1d84ebc325

View file

@ -1,20 +1,23 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig }: { stdenv
, fetchurl
, meson
, ninja
, pkgconfig
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "fribidi-${version}"; name = "${pname}-${version}";
version = "1.0.3"; pname = "fribidi";
version = "1.0.4";
src = fetchFromGitHub { # NOTE: 2018-06-06 v1.0.4: Only URL tarball has "Have pre-generated man pages: true", which works-around upstream usage of some rare ancient `c2man` fossil application.
owner = "fribidi"; src = fetchurl {
repo = "fribidi"; url = "https://github.com/${pname}/${pname}/releases/download/v${version}/${name}.tar.bz2";
rev = "v${version}"; sha256 = "1gipy8fjyn6i4qrhima02x8xs493d21f22dijp88nk807razxgcl";
sha256 = "02483nscxc695j9b92clcdf0xb7xkfjry09kqdkkhkzl3vdcj039";
}; };
# FIXME: Please build with Meson after https://github.com/fribidi/fribidi/issues/79 solved nativeBuildInputs = [ meson ninja pkgconfig ];
nativeBuildInputs = [ autoreconfHook pkgconfig ];
# Configure script checks for glib, but it is only used for tests.
outputs = [ "out" "devdoc" ]; outputs = [ "out" "devdoc" ];