mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-08 22:45:30 +00:00
package: add prettier-plugin-svelte
This commit is contained in:
parent
6b334ad28f
commit
ea8c9a3503
2 changed files with 35 additions and 0 deletions
19
flake/pkgs/by-name/prettier-plugin-svelte/package.nix
Normal file
19
flake/pkgs/by-name/prettier-plugin-svelte/package.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
pins,
|
||||
}: let
|
||||
pin = pins.prettier-plugin-svelte;
|
||||
in
|
||||
buildNpmPackage (finalAttrs: {
|
||||
pname = "prettier-plugin-svelte";
|
||||
version = pin.version or pin.revision;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit (pin.repository) owner repo;
|
||||
rev = finalAttrs.version;
|
||||
sha256 = pin.hash;
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-D+gDdKiIG38jV+M/BqTKf0yYj1KXpbIodtQFdzocpn8=";
|
||||
})
|
||||
|
|
@ -2234,6 +2234,22 @@
|
|||
"url": "https://api.github.com/repos/withastro/prettier-plugin-astro/tarball/v0.14.1",
|
||||
"hash": "14ffwxggcnyc947pdxgsgz1v2q76m5xmybfxg8kyla4l7phg6qsw"
|
||||
},
|
||||
"prettier-plugin-svelte": {
|
||||
"type": "GitRelease",
|
||||
"repository": {
|
||||
"type": "GitHub",
|
||||
"owner": "sveltejs",
|
||||
"repo": "prettier-plugin-svelte"
|
||||
},
|
||||
"pre_releases": false,
|
||||
"version_upper_bound": null,
|
||||
"release_prefix": null,
|
||||
"submodules": false,
|
||||
"version": "v3.3.2",
|
||||
"revision": "76c04ebfdff4306842e8ab0cd96b1c53c7041dde",
|
||||
"url": "https://api.github.com/repos/sveltejs/prettier-plugin-svelte/tarball/v3.3.2",
|
||||
"hash": "0g6h5lvhyms6nvk83vkd3yi8rvsz2v5g6cw03fqsv2nj45s6cf7r"
|
||||
},
|
||||
"project-nvim": {
|
||||
"type": "Git",
|
||||
"repository": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue