Merge pull request #251997 from figsoda/glicol
glicol-cli: init at 0.2.0
This commit is contained in:
commit
b63225c946
2 changed files with 44 additions and 0 deletions
42
pkgs/applications/audio/glicol-cli/default.nix
Normal file
42
pkgs/applications/audio/glicol-cli/default.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue