visions-vtt/flake.nix

38 lines
977 B
Nix
Raw Normal View History

2022-04-02 00:52:46 +00:00
{
2022-04-02 00:54:48 +00:00
description = "Kampanja Kontrolado";
2022-04-02 00:52:46 +00:00
inputs = {
nixpkgs.url = "nixpkgs/nixos-21.11";
oxalica.url = "https://github.com/oxalica/rust-overlay/archive/master.tar.gz";
};
outputs = { self, nixpkgs, oxalica }:
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 ]; };
rust = pkgs.rust-bin.stable."1.59.0".default.override {
extensions = [ "rust-src" ];
};
in
pkgs.mkShell {
2022-04-02 00:54:48 +00:00
name = "kampanja-kontrolada";
2022-04-02 00:52:46 +00:00
buildInputs = [
pkgs.gtk3
pkgs.libappindicator
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
pkgs.webkit
rust
2022-04-02 00:52:46 +00:00
];
};
};
}