Home

tailwind-ctp @main - refs - log -
-
https://git.jolheiser.com/tailwind-ctp.git
TailwindCSS + Catppuccin
tree log patch
local build Signed-off-by: jolheiser <git@jolheiser.com>
Signature
-----BEGIN SSH SIGNATURE----- U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgBTEvCQk6VqUAdN2RuH6bj1dNkY oOpbPWj+jw4ua1B1cAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5 AAAAQNg8KmnMHzgJDUmNbC3lJWgdnOT4kCakDjcTVq46EZyEtWry3OxNDyakwqY/XGpKdF aI01McrS+5Hn5BWcWCrgA= -----END SSH SIGNATURE-----
jolheiser <git@jolheiser.com>
5 days ago
5 changed files, 33 additions(+), 50 deletions(-)
.woodpecker.ymlREADME.mdflake.lockflake.nixpackage.json
D .woodpecker.yml
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff --git a/.woodpecker.yml b/.woodpecker.yml
deleted file mode 100644
index bb7c6b01be836d5e2ded3934990384bed31184bc..0000000000000000000000000000000000000000
--- a/.woodpecker.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-pipeline:
-  build:
-    image: node:18
-    commands:
-      - npm ci
-      - npm run build
-  release:
-    image: woodpeckerci/plugin-gitea-release
-    settings:
-      base_url: https://git.jojodev.com
-      files:
-        - "dist/*"
-      api_key:
-        from_secret: gitea_token
-    when:
-      event: tag
-  prune:
-    image: jolheiser/drone-gitea-prune
-    settings:
-      base: https://git.jojodev.com
-      token:
-        from_secret: gitea_token
-    when:
-      event: tag  
M README.mdREADME.md
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
diff --git a/README.md b/README.md
index b9c87bad84c00d3c817fcbf6c8160c4bf6f0da28..5d1134a8268fcbddc6fa5c4fed3c11aaf6f492ac 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,9 @@
 ## TailwindCSS + Catppuccin
 
-A copy of the [standalone CLI](https://github.com/tailwindlabs/tailwindcss/tree/master/standalone-cli) with `@catppuccin/tailwindcss` support built in.
+A copy of the [standalone CLI](https://github.com/tailwindlabs/tailwindcss/tree/v3.4.17/standalone-cli) with `@catppuccin/tailwindcss` support built in.
 
 ```shell
-nix run git+https://git.jojodev.com/jolheiser/tailwind-ctp
+nix run git+https://git.jolheiser.com/tailwind-ctp
 ```
 
 ## License
M flake.lockflake.lock
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
diff --git a/flake.lock b/flake.lock
index 2e840793d394642a704697f5b475cd5b1655e833..0082d7851a872030caf8b2a4c61c25dc7dbbb41e 100644
--- a/flake.lock
+++ b/flake.lock
@@ -2,11 +2,11 @@ {
   "nodes": {
     "nixpkgs": {
       "locked": {
-        "lastModified": 1695806987,
-        "narHash": "sha256-fX5kGs66NZIxCMcpAGIpxuftajHL8Hil1vjHmjjl118=",
+        "lastModified": 1753399495,
+        "narHash": "sha256-7XG/QBqhrYOyA2houjRTL2NMa7IKZZ/somBqr+Q/6Wo=",
         "owner": "nixos",
         "repo": "nixpkgs",
-        "rev": "f3dab3509afca932f3f4fd0908957709bb1c1f57",
+        "rev": "0d00f23f023b7215b3f1035adb5247c8ec180dbc",
         "type": "github"
       },
       "original": {
M flake.nixflake.nix
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
diff --git a/flake.nix b/flake.nix
index 3577a4142a4af9a2287ac963802c9e62d558936d..56b1113e9a6703ec622b7b6fdd3ce45aceb88250 100644
--- a/flake.nix
+++ b/flake.nix
@@ -5,25 +5,32 @@   inputs = {
     nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
   };
 
-  outputs = {self, nixpkgs}: let 
-    pkgs = nixpkgs.legacyPackages.x86_64-linux;
-  in {
-    packages.x86_64-linux.default = pkgs.stdenv.mkDerivation rec {
-      pname = "tailwind-ctp";
-      version = "3.3.3";
-      src = pkgs.fetchurl {
-        url = "https://git.jojodev.com/jolheiser/tailwind-ctp/releases/download/v${version}/tailwind-ctp";
-        hash = "sha256-sS6TjtKhe6qwDPj4zzDjXfp/90Cpcg8AOtjQHoX/PSo=";
-      };
-      dontUnpack = true;
-      dontConfigure = true;
-      dontBuild = true;
-      dontFixup = true;
-      installPhase = ''
-        mkdir -p $out/bin
-        cp ${src} $out/bin/tailwind-ctp
-        chmod 755 $out/bin/tailwind-ctp
-      '';
+  outputs =
+    { self, nixpkgs }:
+    let
+      pkgs = nixpkgs.legacyPackages.x86_64-linux;
+    in
+    {
+      packages.x86_64-linux.default =
+        let
+          drv = pkgs.buildNpmPackage {
+            pname = "tailwind-ctp";
+            version = "0.0.0";
+            src = ./.;
+            npmDepsHash = "sha256-Fm6c7bZ8raEJw06YZA6iMRoGwWU9RVkPGd5vCjXUAsA=";
+            dontNpmBuild = true;
+            installPhase = ''
+              mkdir -p $out
+              cp -r . $out/
+            '';
+          };
+        in
+        pkgs.writeShellApplication {
+          name = "tailwind-ctp";
+          runtimeInputs = [ pkgs.nodejs ];
+          text = ''
+            node ${drv}/index.js "$@"
+          '';
+        };
     };
-  };
 }
M package.jsonpackage.json
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
diff --git a/package.json b/package.json
index 31f60c1c1ba5b15dc4a8f6c6ca1382394d6a18fa..60685be34166ce3ca80617da20f7beb8c6f961b0 100644
--- a/package.json
+++ b/package.json
@@ -28,4 +28,4 @@       "node16-linuxstatic-x64"
     ],
     "outputPath": "dist"
   }
-}
+}
\ No newline at end of file