2022-12-31 17:07:58 +00:00
|
|
|
{
|
|
|
|
description = "Lumenescent Dreams Tools";
|
|
|
|
|
|
|
|
inputs = {
|
2023-01-27 16:03:40 +00:00
|
|
|
nixpkgs.url = "nixpkgs/nixos-22.11";
|
|
|
|
unstable.url = "nixpkgs/nixos-unstable";
|
2022-12-31 17:07:58 +00:00
|
|
|
oxalica.url = "https://github.com/oxalica/rust-overlay/archive/master.tar.gz";
|
|
|
|
};
|
|
|
|
|
2023-01-27 16:03:40 +00:00
|
|
|
outputs = { self, nixpkgs, unstable, oxalica }:
|
2022-12-31 17:07:58 +00:00
|
|
|
let
|
|
|
|
version = builtins.string 0 8 self.lastModifiedDate;
|
|
|
|
supportedSystems = [ "x86_64-linux" ];
|
|
|
|
in
|
|
|
|
{
|
|
|
|
devShell."x86_64-linux" =
|
|
|
|
let
|
|
|
|
rust_overlay = import oxalica;
|
|
|
|
pkgs = import nixpkgs { system = "x86_64-linux"; overlays = [ rust_overlay ]; };
|
2023-01-27 16:03:40 +00:00
|
|
|
pkgs-unstable = import unstable { system = "x86_64-linux"; overlays = [ rust_overlay ]; };
|
2022-12-31 17:07:58 +00:00
|
|
|
rust = pkgs.rust-bin.stable."1.65.0".default.override {
|
|
|
|
extensions = [ "rust-src" ];
|
|
|
|
};
|
|
|
|
in
|
|
|
|
pkgs.mkShell {
|
|
|
|
name = "ld-tools-devshell";
|
|
|
|
buildInputs = [
|
2023-01-27 16:03:40 +00:00
|
|
|
pkgs.clang
|
2023-02-08 22:45:34 +00:00
|
|
|
pkgs.dbus
|
|
|
|
pkgs.entr
|
2023-02-07 14:32:29 +00:00
|
|
|
pkgs.glib
|
2023-02-08 22:45:34 +00:00
|
|
|
pkgs.gst_all_1.gst-plugins-bad
|
2023-02-07 14:32:29 +00:00
|
|
|
pkgs.gst_all_1.gst-plugins-base
|
|
|
|
pkgs.gst_all_1.gst-plugins-good
|
|
|
|
pkgs.gst_all_1.gst-plugins-ugly
|
2023-02-08 22:45:34 +00:00
|
|
|
pkgs.gst_all_1.gstreamer
|
|
|
|
pkgs.nodejs
|
2022-12-31 17:07:58 +00:00
|
|
|
pkgs.openssl
|
2023-02-08 22:45:34 +00:00
|
|
|
pkgs.pipewire
|
2023-01-27 16:03:40 +00:00
|
|
|
pkgs.pkg-config
|
2023-02-08 22:45:34 +00:00
|
|
|
pkgs.sqlite
|
2022-12-31 17:07:58 +00:00
|
|
|
rust
|
|
|
|
];
|
2023-01-27 16:03:40 +00:00
|
|
|
LIBCLANG_PATH="${pkgs.llvmPackages.libclang.lib}/lib";
|
2022-12-31 17:07:58 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|