depot/third_party/nixpkgs/pkgs/development/python-modules/pyfribidi/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

29 lines
609 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, isPyPy
, six
}:
buildPythonPackage rec {
version = "0.12.0";
pname = "pyfribidi";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "64726a4a56783acdc79c6b9b3a15f16e6071077c897a0b999f3b43f744bc621c";
};
patches = stdenv.lib.optional stdenv.cc.isClang ./pyfribidi-clang.patch;
propagatedBuildInputs = [ six ];
meta = with stdenv.lib; {
description = "A simple wrapper around fribidi";
homepage = "https://github.com/pediapress/pyfribidi";
license = stdenv.lib.licenses.gpl2;
};
}