14 src = fetchFromGitHub {
15 owner = "daeuniverse";
17 rev = "refs/tags/v${version}";
18 hash = "sha256-h1j91XIumuzuJnMxgkCjhuXYPLXoDuFFsfmDwmzlTEI=";
19 fetchSubmodules = true;
22 web = stdenv.mkDerivation {
23 inherit pname version src;
25 pnpmDeps = pnpm.fetchDeps {
26 inherit pname version src;
27 hash = "sha256-vqkiZzd5WOeJem0zUyMsJd6/aHHAjlsIQMkNf+SUvHY=";
50 inherit pname version src;
51 sourceRoot = "${src.name}/wing";
53 vendorHash = "sha256-TBR3MmpTdwIwyekU+nrHhzsN31E30+Rqd3FoBL3dl4U=";
56 nativeBuildInputs = [ clang ];
58 hardeningDisable = [ "zerocallusedregs" ];
61 substituteInPlace Makefile \
62 --replace-fail /bin/bash /bin/sh
64 # ${web} does not have write permission
73 make CFLAGS="-D__REMOVE_BPF_PRINTK -fno-stack-protector -Wno-unused-command-line-argument" \
78 OUTPUT=$out/bin/daed \
85 description = "Modern dashboard with dae";
86 homepage = "https://github.com/daeuniverse/daed";
87 license = lib.licenses.mit;
88 maintainers = with lib.maintainers; [ oluceps ];
89 platforms = lib.platforms.linux;