2022-04-02 00:52:46 +00:00
|
|
|
{
|
2022-11-16 04:15:59 +00:00
|
|
|
description = "Visions VTT is a new virtual tabletop application specializing in the Cypher System by Monte Cook Games";
|
2022-04-02 00:52:46 +00:00
|
|
|
|
|
|
|
inputs = {
|
2022-11-16 23:00:24 +00:00
|
|
|
nixpkgs_22_05.url = "nixpkgs/nixos-22.05";
|
|
|
|
nixpkgs_unstable.url = "nixpkgs/nixos-unstable";
|
2022-04-02 00:52:46 +00:00
|
|
|
oxalica.url = "https://github.com/oxalica/rust-overlay/archive/master.tar.gz";
|
|
|
|
};
|
|
|
|
|
2022-11-16 23:00:24 +00:00
|
|
|
outputs = { self, nixpkgs_22_05, nixpkgs_unstable, oxalica }:
|
2022-04-02 00:52:46 +00:00
|
|
|
let
|
|
|
|
version = builtins.string 0 8 self.lastModifiedDate;
|
|
|
|
supportedSystems = [ "x86_64-linux" ];
|
|
|
|
in
|
|
|
|
{
|
|
|
|
devShell."x86_64-linux" =
|
|
|
|
let
|
|
|
|
rust_overlay = import oxalica;
|
2022-11-16 23:00:24 +00:00
|
|
|
pkgs = import nixpkgs_22_05 { system = "x86_64-linux"; overlays = [ rust_overlay ]; };
|
|
|
|
pkgs_unstable = import nixpkgs_unstable { system = "x86_64-linux"; };
|
2022-11-16 04:15:59 +00:00
|
|
|
rust = pkgs.rust-bin.stable."1.65.0".default.override {
|
2022-04-02 00:52:46 +00:00
|
|
|
extensions = [ "rust-src" ];
|
|
|
|
};
|
|
|
|
in
|
|
|
|
pkgs.mkShell {
|
2022-11-16 04:15:59 +00:00
|
|
|
name = "visions-vtt-shell";
|
2022-04-02 00:52:46 +00:00
|
|
|
buildInputs = [
|
2022-04-02 00:54:48 +00:00
|
|
|
pkgs.nodejs
|
2022-04-02 00:52:46 +00:00
|
|
|
pkgs.openssl
|
2022-04-02 00:54:48 +00:00
|
|
|
pkgs.pkg-config
|
|
|
|
pkgs.sqlite
|
2022-11-16 23:00:24 +00:00
|
|
|
pkgs.vite
|
2023-03-15 19:46:36 +00:00
|
|
|
pkgs_unstable.typeshare
|
|
|
|
pkgs.entr
|
2022-04-02 00:54:48 +00:00
|
|
|
rust
|
2022-04-02 00:52:46 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|