forked from arximboldi/lager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.nix
38 lines (37 loc) · 807 Bytes
/
default.nix
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
28
29
30
31
32
33
34
35
36
37
38
with import <nixpkgs> {};
let
deps = import ./nix/deps.nix {};
in
stdenv.mkDerivation rec {
name = "lager-git";
version = "git";
src = builtins.filterSource (path: type:
baseNameOf path != ".git" &&
baseNameOf path != "build" &&
baseNameOf path != "_build" &&
baseNameOf path != "reports" &&
baseNameOf path != "tools")
./.;
buildInputs = [
ncurses
SDL2
SDL2_ttf
];
nativeBuildInputs = [
cmake
gcc7
sass
pkgconfig
];
propagatedBuildInputs = [
boost
deps.cereal
deps.immer
deps.zug
];
meta = {
homepage = "https://github.com/arximboldi/lager";
description = "library for functional interactive c++ programs";
license = lib.licenses.lgpl3Plus;
};
}