mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
soundmodem: add desktop item
This commit is contained in:
parent
d61b866e3f
commit
9d05397e50
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, pkg-config, alsa-lib, audiofile, gtk2, libxml2 }:
|
||||
{ lib, stdenv, fetchurl, pkg-config, alsa-lib, audiofile, gtk2, libxml2, copyDesktopItems, makeDesktopItem }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "soundmodem";
|
||||
@ -9,13 +9,26 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "156l3wjnh5rcisxb42kcmlf74swf679v4xnj09zy5j74rd4h721z";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
copyDesktopItems
|
||||
];
|
||||
buildInputs = [ alsa-lib audiofile gtk2 libxml2 ];
|
||||
|
||||
patches = [ ./matFix.patch ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = "SoundmodemConfig";
|
||||
exec = "soundmodemconfig";
|
||||
desktopName = "SoundModemConfig";
|
||||
comment = "Audio based modem for ham radio supporting ax.25";
|
||||
categories = [ "Audio" ];
|
||||
})
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Audio based modem for ham radio supporting ax.25";
|
||||
longDescription = ''
|
||||
|
Loading…
Reference in New Issue
Block a user