Signed-off-by: Hadi <[email protected]>
This commit is contained in:
Hadi
2026-09-06 20:11:13 +02:00
parent f6151d268e
commit d6b3114c85
3 changed files with 39 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
alsa-lib,
openssl,
}:
rustPlatform.buildRustPackage rec {
pname = "myx";
version = "0.4.0";
src = fetchFromGitHub {
owner = "HaseebKhalid1507";
repo = "Myx";
rev = "v${version}";
hash = "sha256-72Q0AkUT8ms0+zbtVEBjqnku7njUAzVk/Y/d2AyQVeQ=";
};
cargoHash = "sha256-aNDKxvz918mwLteGpgQR7cpXs3VK12OHrfm4Q/jT+1s=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [
alsa-lib
openssl
];
meta = with lib; {
description = "A lean, beautiful terminal Spotify player";
homepage = "https://github.com/HaseebKhalid1507/Myx";
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ ];
mainProgram = "myx";
};
}