Merge branch 'mvoice'
This commit is contained in:
commit
d0169ebc5e
@ -313,7 +313,9 @@
|
||||
spkgs.callPackage ./pkgs/gotosocial.nix {inherit spkgs;};
|
||||
zutty = upkgs.callPackage ./pkgs/zutty.nix {
|
||||
inherit upkgs;
|
||||
isUnstable = true;
|
||||
};
|
||||
mvoice = upkgs.callPackage ./pkgs/mvoice.nix {
|
||||
inherit upkgs;
|
||||
};
|
||||
inherit (xintray.packages.${system}) xintray;
|
||||
inherit (tsvnstat.packages.${system}) tsvnstat;
|
||||
|
51
pkgs/mvoice.nix
Normal file
51
pkgs/mvoice.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
pname = "mvoice";
|
||||
version = "unstable-2023-05-30";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "n7tae";
|
||||
repo = "mvoice";
|
||||
rev = "8e0a9fb350f8308d7ee7e07e3cc48e7c33a7be64";
|
||||
sha256 = "sha256-DNCF/m56owu8DYcv2lLxUZ+mVpmivXbPjBFE2V/23pE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
alsa-lib
|
||||
curl
|
||||
fltk
|
||||
gcc
|
||||
gettext
|
||||
gnutls
|
||||
msgpack
|
||||
opendht
|
||||
paprefs
|
||||
pavucontrol
|
||||
pulseaudio
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace "/bin/cp" "cp"
|
||||
substituteInPlace Makefile \
|
||||
--replace "/bin/rm" "rm"
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
export HOME=$out
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A prototype M17 voice application for ham radio";
|
||||
homepage = "https://github.com/n7tae/mvoice";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [qbit];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user