Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 59 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ stdenv, callPackage, cmake, pkg-config, glib, libao, intltool, libmirage, coreutils,}:
let inherit (callPackage ./common-drv-attrs.nix { version = "3.2.7"; pname = "cdemu-daemon"; hash = "sha256-EKh2G6RA9Yq46BpTAqN2s6TpLJb8gwDuEpGiwdGcelc="; }) pname version src meta ;instdenv.mkDerivation { inherit pname version src;
nativeBuildInputs = [ cmake pkg-config intltool ]; buildInputs = [ glib libao libmirage ]; postInstall = '' mkdir -p $out/share/dbus-1/services cp -R ../service-example $out/share/cdemu substitute \ $out/share/cdemu/net.sf.cdemu.CDEmuDaemon.service \ $out/share/dbus-1/services/net.sf.cdemu.CDEmuDaemon.service \ --replace /bin/true ${coreutils}/bin/true '';
meta = { inherit (meta) description license longDescription maintainers platforms ; homepage = "https://cdemu.sourceforge.io/about/daemon/"; mainProgram = "cdemu-daemon"; };}