Files
nixpkgs/pkgs/development/python-modules/imgsize/default.nix
T
2025-01-27 10:55:44 +01:00

26 lines
519 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
}:
buildPythonPackage rec {
pname = "imgsize";
version = "3.0.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "ojii";
repo = pname;
tag = version;
sha256 = "sha256-i0YCt5jTnDAxnaxKSTloWrQn27yLAvZnghZlCgwZh0Q=";
};
meta = with lib; {
description = "Pure Python image size library";
homepage = "https://github.com/ojii/imgsize";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ twey ];
};
}