Files
nixpkgs/pkgs/development/python-modules/imgsize/default.nix
T
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

25 lines
513 B
Nix

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