1
0
Fork 0

wip: start flake
ci/woodpecker/push/woodpecker Pipeline was successful Details

Signed-off-by: jolheiser <john.olheiser@gmail.com>
jolheiser 2023-09-27 10:41:17 -05:00
parent f7abb1e3ed
commit 374e8c8d61
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 29 additions and 0 deletions

29
flake.nix 100644
View File

@ -0,0 +1,29 @@
{
description = "TailwindCSS + Catppuccin";
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 = fetchurl {
url = "https://git.jojodev.com/jolheiser/tailwind-ctp/releases/download/v${version}/tailwind-ctp";
hash = "";
};
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
'';
};
};
}