pyvips: init at 2.1.12
pyvips: init at 2.1.12 pyvips: init at 2.1.12 Update pkgs/development/python-modules/pyvips/default.nix Co-authored-by: Jon <jonringer@users.noreply.github.com> Update pkgs/development/python-modules/pyvips/default.nix Co-authored-by: Jon <jonringer@users.noreply.github.com> Update pkgs/development/python-modules/pyvips/default.nix Co-authored-by: Jon <jonringer@users.noreply.github.com> Update pkgs/development/python-modules/pyvips/default.nix Co-authored-by: Jon <jonringer@users.noreply.github.com> Update pkgs/development/python-modules/pyvips/default.nix Co-authored-by: Jon <jonringer@users.noreply.github.com> Update pkgs/top-level/python-packages.nix Co-authored-by: Jon <jonringer@users.noreply.github.com> Update pkgs/development/python-modules/pyvips/default.nix Co-authored-by: Jon <jonringer@users.noreply.github.com> pyvips: init at 2.1.12 Update pkgs/development/python-modules/pyvips/default.nix Co-authored-by: Jon <jonringer@users.noreply.github.com>
This commit is contained in:
parent
684d5d2713
commit
2f4f052f7c
31
pkgs/development/python-modules/pyvips/default.nix
Normal file
31
pkgs/development/python-modules/pyvips/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ buildPythonPackage, fetchPypi, pytestrunner, pytestCheckHook, glib, vips, cffi
|
||||||
|
, pkg-config, pkgconfig, lib }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pyvips";
|
||||||
|
version = "2.1.12";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0pg0dxhxgi2m7bb5bi5wpx9hgnbi8ws1bz6w2dldbhi52pizghl4";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pytestrunner pkgconfig pkg-config ];
|
||||||
|
|
||||||
|
buildInputs = [ glib vips ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ cffi ];
|
||||||
|
|
||||||
|
# tests are not included in pypi tarball
|
||||||
|
doCheck = false;
|
||||||
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "pyvips" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A python wrapper for libvips";
|
||||||
|
homepage = "https://github.com/libvips/pyvips";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ ccellado ];
|
||||||
|
};
|
||||||
|
}
|
@ -5897,6 +5897,10 @@ in {
|
|||||||
|
|
||||||
pyviz-comms = callPackage ../development/python-modules/pyviz-comms { };
|
pyviz-comms = callPackage ../development/python-modules/pyviz-comms { };
|
||||||
|
|
||||||
|
pyvips = callPackage ../development/python-modules/pyvips {
|
||||||
|
inherit (pkgs) pkg-config vips glib;
|
||||||
|
};
|
||||||
|
|
||||||
pyvmomi = callPackage ../development/python-modules/pyvmomi { };
|
pyvmomi = callPackage ../development/python-modules/pyvmomi { };
|
||||||
|
|
||||||
pyvoro = callPackage ../development/python-modules/pyvoro { };
|
pyvoro = callPackage ../development/python-modules/pyvoro { };
|
||||||
|
Loading…
Reference in New Issue
Block a user