Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
60 lines
1.0 KiB
Nix
60 lines
1.0 KiB
Nix
{
|
|
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
|
|
;
|
|
in
|
|
stdenv.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";
|
|
};
|
|
}
|