1 { lib, skawarePackages, skalibs }:
3 skawarePackages.buildPackage {
6 sha256 = "9uzw73zUjQTvx1rLLa2WfYULyIFb2wCY8cnvBDOU1DA=";
8 description = "mdev-compatible Linux hotplug manager daemon";
9 platforms = lib.platforms.linux;
11 outputs = [ "bin" "out" "dev" "doc" ];
14 "--with-sysdeps=${skalibs.lib}/lib/skalibs/sysdeps"
15 "--with-include=${skalibs.dev}/include"
16 "--with-lib=${skalibs.lib}/lib"
20 # remove all mdevd executables from build directory
21 rm $(find -type f -mindepth 1 -maxdepth 1 -executable)
24 mv doc $doc/share/doc/mdevd/html
25 mv examples $doc/share/doc/mdevd/examples