mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 04:13:01 +00:00
python3Packages.cairocffi: 1.5.1 -> 1.6.1
Signed-off-by: Jack Leightcap <jack@leightcap.com>
This commit is contained in:
parent
f2cdd1c318
commit
2311ba8e91
@ -11,25 +11,24 @@
|
||||
, pytestCheckHook
|
||||
, cairo
|
||||
, cffi
|
||||
, flit-core
|
||||
, numpy
|
||||
, withXcffib ? false
|
||||
, xcffib
|
||||
, glib
|
||||
, gdk-pixbuf
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cairocffi";
|
||||
version = "1.5.1";
|
||||
version = "1.6.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Bxq3ty41MzALC/1VpSBWtP/cHtbmVneeKs7Ztwm4opU=";
|
||||
hash = "sha256-eOa75HNXZAxFPQvpKfpJzQXM4uEobz0qHKnL2n79uLc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -45,11 +44,9 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
flit-core
|
||||
];
|
||||
|
||||
propagatedNativeBuildInputs = [ cffi ];
|
||||
|
||||
propagatedBuildInputs = [ cairo cffi ]
|
||||
++ lib.optional withXcffib xcffib;
|
||||
|
||||
@ -59,6 +56,10 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"cairocffi"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/Kozea/cairocffi/blob/v${version}/NEWS.rst";
|
||||
homepage = "https://github.com/SimonSapin/cairocffi";
|
||||
|
Loading…
Reference in New Issue
Block a user