Merge pull request #211084 from Kidsan/kord-init

kord: init at 0.4.2
This commit is contained in:
Nick Cao 2023-01-27 18:36:24 +08:00 committed by GitHub
commit 3127d46991
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 0 deletions

View File

@ -7555,6 +7555,12 @@
githubId = 44045911;
name = "Kid";
};
kidsan = {
email = "8798449+Kidsan@users.noreply.github.com";
github = "kidsan";
githubId = 8798449;
name = "kidsan";
};
kierdavis = {
email = "kierdavis@gmail.com";
github = "kierdavis";

View File

@ -0,0 +1,33 @@
{ lib
, fetchFromGitHub
, rustPlatform
, pkg-config
, alsa-lib
}:
rustPlatform.buildRustPackage rec {
pname = "kord";
version = "0.4.2";
# kord depends on nightly features
RUSTC_BOOTSTRAP = 1;
src = fetchFromGitHub {
owner = "twitchax";
repo = "kord";
rev = "v${version}";
sha256 = "sha256-B/UwnbzXI3ER8IMOVtn0ErVqFrkZXKoL+l7ll1AlzDg=";
};
cargoHash = "sha256-xhWSycTe72HW3E9meTo4wjOCHDcNq6fUPT6nqHoW9vE=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ alsa-lib ];
meta = with lib; {
description = "A music theory binary and library for Rust";
homepage = "https://github.com/twitchax/kord";
maintainers = with maintainers; [ kidsan ];
license = with licenses; [ mit ];
};
}

View File

@ -3283,6 +3283,8 @@ with pkgs;
itd = callPackage ../applications/misc/itd { };
kord = callPackage ../applications/misc/kord { };
lastpass-cli = callPackage ../tools/security/lastpass-cli { };
leetcode-cli = callPackage ../applications/misc/leetcode-cli { };