depot/third_party/nixpkgs/pkgs/applications/audio/netease-music-tui/default.nix
Default email ffc78d3539 Project import generated by Copybara.
GitOrigin-RevId: d9dba88d08a9cdf483c3d45f0d7220cf97a4ce64
2021-01-05 19:05:55 +02:00

28 lines
793 B
Nix

{ fetchFromGitHub, rustPlatform, lib, alsaLib, pkg-config, openssl }:
rustPlatform.buildRustPackage rec {
pname = "netease-music-tui";
version = "v0.1.2";
src = fetchFromGitHub {
owner = "betta-cyber";
repo = "netease-music-tui";
rev = version;
sha256 = "0m5b3q493d32kxznm4apn56216l07b1c49km236i03mpfvdw7m1f";
};
cargoPatches = [ ./cargo-lock.patch ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ alsaLib openssl ];
cargoSha256 = "1kfbnwy3lkbhz0ggxwr5n6qd1plipkr1ycr3z2r7c0amrzzbkc7l";
verifyCargoDeps = true;
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;
};
}