nixpkgs/pkgs/development/python-modules/pyvips/default.nix
ccellado 2f4f052f7c 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>
2020-09-27 20:00:31 -07:00

31 lines
781 B
Nix

{ 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 ];
};
}