summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pyfribidi/default.nix
blob: 69e91b171cc2315dfe5c56a6818511540642add4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchPypi,
  isPyPy,
  six,
}:

buildPythonPackage rec {
  version = "0.12.0";
  format = "setuptools";
  pname = "pyfribidi";
  disabled = isPyPy;

  src = fetchPypi {
    inherit pname version;
    extension = "zip";
    sha256 = "64726a4a56783acdc79c6b9b3a15f16e6071077c897a0b999f3b43f744bc621c";
  };

  patches = lib.optional stdenv.cc.isClang ./pyfribidi-clang.patch;

  propagatedBuildInputs = [ six ];

  meta = {
    description = "Simple wrapper around fribidi";
    homepage = "https://github.com/pediapress/pyfribidi";
    license = lib.licenses.gpl2;
  };
}