1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
let
libcoap-with-dtls = libcoap.overrideAttrs (oldAttrs: {
configureFlags = oldAttrs.configureFlags ++ [ "--enable-dtls" ];
buildInputs = [ openssl ];
});
in stdenv.mkDerivation {
pname = "tradfri.nim";
version = "0.1.0";
nativeBuildInputs = [ nim libcoap-with-dtls ];
#NIX_ENFORCE_PURITY = 0;
#NIX_HARDENING_ENABLE = 0;
}