-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.nix
54 lines (46 loc) · 859 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{ lib
, pkgs ? import <nixpkgs> {}
, stdenv ? pkgs.stdenv
, cmake
, cmake-utils
, git
, texlive
, pugixml
}:
with pkgs;
stdenv.mkDerivation {
name = "openemsh";
version = "0.0.0";
src = ./.;
nativeBuildInputs = [
cmake
cmake-utils
git
(texlive.combine {
inherit (texlive) scheme-small standalone pgfplots;
})
];
buildInputs = [
cli11
(pugixml.override { shared = true; })
];
cmakeFlags = [
"-DCPM_DISABLE=ON"
];
shellHook = ''
export CPM_DISABLE=ON
'';
meta = {
homepage = "https://github.com/Open-RFlab/openemsh";
description = "OpenEMS mesher draft";
license = lib.licenses.gpl3;
maintainers = [
{
email = "thomas.lepoix@protonmail.ch";
github = "thomaslepoix";
githubId = 26417323;
name = "Thomas Lepoix";
}
];
};
}