3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/netease-music-tui/default.nix

28 lines
772 B
Nix
Raw Normal View History

2020-12-25 04:15:16 +00:00
{ fetchFromGitHub, rustPlatform, lib, alsaLib, pkg-config, openssl }:
rustPlatform.buildRustPackage rec {
pname = "netease-music-tui";
version = "0.1.3";
2020-12-25 04:15:16 +00:00
src = fetchFromGitHub {
owner = "betta-cyber";
repo = "netease-music-tui";
rev = "v${version}";
sha256 = "09355a6d197ckayh9833y39dsarklgpgrq3raapiv25z59di30qq";
2020-12-25 04:15:16 +00:00
};
cargoPatches = [ ./cargo-lock.patch ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ alsaLib openssl ];
cargoSha256 = "0f06wc7h2zjipifvxsskxvihjf6mykrjrm7yk0zf98ra079bc9g9";
2020-12-25 04:15:16 +00:00
meta = with lib; {
homepage = "https://github.com/betta-cyber/netease-music-tui";
description = "netease cloud music terminal client by rust";
maintainers = with maintainers; [ vonfry ];
license = licenses.mit;
};
}