mirror of
https://github.com/catppuccin/java.git
synced 2026-02-05 04:27:27 +08:00
This commit rewrites the library to be generated from the palette.json which acts as a source of truth. The project is now a multi-module maven project, with the "processing" module responsible for generating the code used in the "palette" module. Both modules will be published to Maven Central and available as separate JARs. Co-authored-by: sgoudham <sgoudham@gmail.com>
28 lines
635 B
Nix
28 lines
635 B
Nix
{
|
|
description = "A devShell example";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
rust-overlay.url = "github:oxalica/rust-overlay";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, rust-overlay, flake-utils, ... }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
overlays = [ (import rust-overlay) ];
|
|
pkgs = import nixpkgs {
|
|
inherit system overlays;
|
|
};
|
|
in
|
|
with pkgs;
|
|
{
|
|
devShell = mkShell {
|
|
buildInputs = [
|
|
openjdk11-bootstrap
|
|
];
|
|
};
|
|
}
|
|
);
|
|
}
|