aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
blob: 9cd9e4930957090eb5e1303cb905e4939eb0da48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  description = "compustream";

  inputs = {
    nixpkgs.url = github:NixOS/nixpkgs/nixos-21.05;
  };

  outputs = { self, nixpkgs, ... }: {
    defaultPackage.x86_64-linux = let
      system = "x86_64-linux";
      pkgs = import nixpkgs { inherit system; };

    in pkgs.stdenv.mkDerivation rec {
      name = "compustream";

      src = pkgs.lib.cleanSource ./.;

      buildInputs = with pkgs; [
        cmake
        universal-ctags
        glfw3
        glew
        glm
      ];
    };
  };
}