autoprefixer: migrate to pnpm 10 and fetcherVersion 4 (#531039)

This commit is contained in:
Gergő Gutyina 2026-06-12 15:53:20 +00:00 committed by GitHub
commit efde0aa842
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,7 @@
lib,
stdenv,
nodejs,
pnpm_9,
pnpm_10,
fetchPnpmDeps,
pnpmConfigHook,
fetchFromGitHub,
@ -11,26 +11,26 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "autoprefixer";
version = "10.4.24";
version = "10.5.0";
src = fetchFromGitHub {
owner = "postcss";
repo = "autoprefixer";
rev = finalAttrs.version;
hash = "sha256-9XZWkBDqkaBbIHq3wIbo4neToPM+NCxi9c1AyVqmnvc=";
tag = finalAttrs.version;
hash = "sha256-s152v9sIuQLvhfPsZvQa+O9UhoASgm/e8dnz0t4pP3A=";
};
nativeBuildInputs = [
nodejs
pnpmConfigHook
pnpm_9
pnpm_10
];
pnpmDeps = fetchPnpmDeps {
inherit (finalAttrs) pname version src;
pnpm = pnpm_9;
fetcherVersion = 3;
hash = "sha256-PPYyEsc0o5ufBexUdiX9EJLEsQZ0wX7saBzxJGsnseU=";
pnpm = pnpm_10;
fetcherVersion = 4;
hash = "sha256-Sxt4vtdlMdXxXqt22hfZJskj8mkB5t85IZ5BsbCoDF4=";
};
installPhase = ''
@ -60,9 +60,9 @@ stdenv.mkDerivation (finalAttrs: {
meta = {
description = "Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website";
homepage = "https://github.com/postcss/autoprefixer";
changelog = "https://github.com/postcss/autoprefixer/releases/tag/${finalAttrs.version}";
changelog = "https://github.com/postcss/autoprefixer/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
mainProgram = "autoprefixer";
maintainers = [ ];
maintainers = [ lib.maintainers.skohtv ];
};
})