Files
nixpkgs/pkgs/development/python-modules/imagesize/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

23 lines
454 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "imagesize";
version = "1.4.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-aRUERK/7nLDVzFqSs2dvCy+3zZrjnpR6XhGja0SXzUo=";
};
meta = {
description = "Getting image size from png/jpeg/jpeg2000/gif file";
homepage = "https://github.com/shibukawa/imagesize_py";
license = with lib.licenses; [ mit ];
};
}