diff options
author | happysalada <raphael@megzari.com> | 2023-11-02 07:53:09 +0100 |
---|---|---|
committer | Yt <happysalada@tuta.io> | 2023-11-02 09:59:42 +0000 |
commit | 96ed7260120f397e71eb4ef60933c071b88a1a51 (patch) | |
tree | 41b64dc5850d247387d2e5ec475e928c02fb81d2 /pkgs/by-name/ta | |
parent | 6d2aa33a17681a30777cb53411bd8243ac765555 (diff) |
tailwindcss-language-server: init at 0.0.14
Diffstat (limited to 'pkgs/by-name/ta')
-rw-r--r-- | pkgs/by-name/ta/tailwindcss-language-server/package.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/by-name/ta/tailwindcss-language-server/package.nix b/pkgs/by-name/ta/tailwindcss-language-server/package.nix new file mode 100644 index 0000000000000..5274a1c11f353 --- /dev/null +++ b/pkgs/by-name/ta/tailwindcss-language-server/package.nix @@ -0,0 +1,41 @@ +{ lib +, stdenv +, buildNpmPackage +, fetchFromGitHub +, python3 +, darwin +, libsecret +, pkg-config +}: + +let + version = "0.0.14"; +in +buildNpmPackage { + pname = "tailwindcss-language-server"; + inherit version; + + src = fetchFromGitHub { + owner = "tailwindlabs"; + repo = "tailwindcss-intellisense"; + rev = "@tailwindcss/language-server@v${version}"; + hash = "sha256-EE1Gd0cmcJmyleoXVNtMJ8IKYpQIzRf2F42HOORHbwo="; + }; + + makeCacheWritable = true; + npmDepsHash = "sha256-gQgGIo/cS0P1B5lSmNpd8WOgucf3RbRk1YOvMXNbxb0="; + npmWorkspace = "packages/tailwindcss-language-server"; + + buildInputs = [ libsecret ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Security AppKit ]); + + nativeBuildInputs = [ python3 pkg-config ]; + + meta = with lib; { + description = "Intelligent Tailwind CSS tooling for Visual Studio Code"; + homepage = "https://github.com/tailwindlabs/tailwindcss-intellisense"; + license = licenses.mit; + maintainers = with maintainers; [ happysalada]; + mainProgram = "tailwindcss-language-server"; + platforms = platforms.all; + }; +} |