nixpkgs/pkgs/development/python-modules/pyfribidi/default.nix

30 lines
609 B
Nix
Raw Normal View History

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