mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 19:00:46 +00:00
python3Packages.resize-image: init at 0.4.0
New dependency for odl-renderer, for opendisplay stack in home-assistant.
This commit is contained in:
43
pkgs/development/python-modules/resize-image/default.nix
Normal file
43
pkgs/development/python-modules/resize-image/default.nix
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
pillow,
|
||||
python-resize-image,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "resize-image";
|
||||
version = "0.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-nlJvyKSUKUNLcleBfrNH3wKh0Q97+d8laIa5POm7IeM=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
pillow
|
||||
python-resize-image
|
||||
];
|
||||
|
||||
doCheck = false; # no tests
|
||||
|
||||
pythonImportsCheck = [
|
||||
"resize"
|
||||
];
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
meta = {
|
||||
description = "Commandline utility to resize an image";
|
||||
homepage = "https://github.com/jaymu53/resize-image";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ hexa ];
|
||||
};
|
||||
})
|
||||
@@ -18098,6 +18098,8 @@ self: super: with self; {
|
||||
|
||||
resend = callPackage ../development/python-modules/resend { };
|
||||
|
||||
resize-image = callPackage ../development/python-modules/resize-image { };
|
||||
|
||||
resize-right = callPackage ../development/python-modules/resize-right { };
|
||||
|
||||
resolvelib = callPackage ../development/python-modules/resolvelib { };
|
||||
|
||||
Reference in New Issue
Block a user