mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
autoprefixer: migrate to pnpm 10 and fetcherVersion 4 (#531039)
This commit is contained in:
commit
efde0aa842
1 changed files with 10 additions and 10 deletions
|
|
@ -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 ];
|
||||
};
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue