Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python312Packages.imread: refactor

- add changelog to meta

+7 -8
+7 -8
pkgs/development/python-modules/imread/default.nix
··· 18 18 pyproject = true; 19 19 20 20 src = fetchPypi { 21 - inherit version; 22 - pname = "imread"; 21 + inherit pname version; 23 22 hash = "sha256-ULPXCJyGJQTCKyVu9R/kWFGzRhbbFMDr/FU2AByZYBU="; 24 23 }; 25 24 26 - nativeBuildInputs = [ 27 - pkg-config 28 - setuptools 29 - ]; 25 + build-system = [ setuptools ]; 26 + 27 + nativeBuildInputs = [ pkg-config ]; 30 28 31 29 buildInputs = [ 32 30 libjpeg ··· 35 33 libwebp 36 34 ]; 37 35 38 - propagatedBuildInputs = [ numpy ]; 36 + dependencies = [ numpy ]; 39 37 40 38 nativeCheckInputs = [ pytestCheckHook ]; 41 39 ··· 56 54 57 55 meta = with lib; { 58 56 description = "Python package to load images as numpy arrays"; 59 - homepage = "https://imread.readthedocs.io/en/latest/"; 57 + homepage = "https://imread.readthedocs.io/"; 58 + changelog = "https://github.com/luispedro/imread/blob/v${version}/ChangeLog"; 60 59 maintainers = with maintainers; [ luispedro ]; 61 60 license = licenses.mit; 62 61 platforms = platforms.unix;