Merge pull request #251997 from figsoda/glicol

glicol-cli: init at 0.2.0
This commit is contained in:
Matthias Beyer 2023-08-28 21:56:36 +02:00 committed by GitHub
commit b63225c946
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,42 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, stdenv
, darwin
, alsa-lib
}:
rustPlatform.buildRustPackage rec {
pname = "glicol-cli";
version = "0.2.0";
src = fetchFromGitHub {
owner = "glicol";
repo = "glicol-cli";
rev = "v${version}";
hash = "sha256-v90FfF4vP5UPy8VnQFvYMKiCrledgNMpWbJR59Cv6a0=";
};
cargoHash = "sha256-fJ18SwVMotepUvdNPQumFWoOaotDzGTerb+Iy+qq5w0=";
nativeBuildInputs = [
pkg-config
rustPlatform.bindgenHook
];
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.AudioUnit
] ++ lib.optionals stdenv.isLinux [
alsa-lib
];
meta = with lib; {
description = "Cross-platform music live coding in terminal";
homepage = "https://github.com/glicol/glicol-cli";
changelog = "https://github.com/glicol/glicol-cli/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
mainProgram = "glicol-cli";
};
}

View file

@ -31760,6 +31760,8 @@ with pkgs;
geoipupdate = callPackage ../applications/misc/geoipupdate { };
glicol-cli = callPackage ../applications/audio/glicol-cli { };
globe-cli = callPackage ../applications/misc/globe-cli { };
gnmic = callPackage ../applications/networking/gnmic { };