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