2021-01-24 00:29:22 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2018-10-16 19:45:52 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPyPy
|
2020-02-22 22:29:49 +00:00
|
|
|
, six
|
2018-10-16 19:45:52 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-10-24 07:47:43 +01:00
|
|
|
version = "0.12.0";
|
2018-10-16 19:45:52 +01:00
|
|
|
pname = "pyfribidi";
|
2020-02-22 22:29:49 +00:00
|
|
|
disabled = isPyPy;
|
2018-10-16 19:45:52 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "zip";
|
2019-10-24 07:47:43 +01:00
|
|
|
sha256 = "64726a4a56783acdc79c6b9b3a15f16e6071077c897a0b999f3b43f744bc621c";
|
2018-10-16 19:45:52 +01:00
|
|
|
};
|
|
|
|
|
2021-01-24 00:29:22 +00:00
|
|
|
patches = lib.optional stdenv.cc.isClang ./pyfribidi-clang.patch;
|
2020-02-23 07:21:10 +00:00
|
|
|
|
2020-02-22 22:29:49 +00:00
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 19:45:52 +01:00
|
|
|
description = "A simple wrapper around fribidi";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/pediapress/pyfribidi";
|
2021-01-24 00:29:22 +00:00
|
|
|
license = licenses.gpl2;
|
2018-10-16 19:45:52 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|