mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
cdemu-daemon: add meta.mainProgram
This commit is contained in:
parent
ed138e20f1
commit
b798dd7d72
@ -1,11 +1,14 @@
|
||||
{ stdenv, callPackage, cmake, pkg-config, glib, libao, intltool, libmirage, coreutils }:
|
||||
stdenv.mkDerivation {
|
||||
|
||||
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 ];
|
||||
@ -17,4 +20,16 @@ stdenv.mkDerivation {
|
||||
$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";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user