diff options
Diffstat (limited to 'pkgs/by-name/tp/tplay/package.nix')
-rw-r--r-- | pkgs/by-name/tp/tplay/package.nix | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/pkgs/by-name/tp/tplay/package.nix b/pkgs/by-name/tp/tplay/package.nix index 619192ddf50a9..37bf1db7d198f 100644 --- a/pkgs/by-name/tp/tplay/package.nix +++ b/pkgs/by-name/tp/tplay/package.nix @@ -11,17 +11,16 @@ }: rustPlatform.buildRustPackage rec { pname = "tplay"; - version = "0.4.5"; + version = "0.5.0"; src = fetchFromGitHub { owner = "maxcurzi"; repo = "tplay"; rev = "v${version}"; - hash = "sha256-qt5I5rel88NWJZ6dYLCp063PfVmGTzkUUKgF3JkhLQk="; + hash = "sha256-/3ui0VOxf+kYfb0JQXPVbjAyXPph2LOg2xB0DGmAbwc="; }; - cargoHash = "sha256-0kHh7Wb9Dp+t2G9/Kz/3K43bQdFCl+q2Vc3W32koc2I="; - cargoPatches = [ ./cargo.diff ]; + cargoHash = "sha256-zRkIEH37pvxHUbnfg25GW1Z7od9XMkRmP2Qvs64uUjg="; checkFlags = [ # requires network access "--skip=pipeline::image_pipeline::tests::test_process" @@ -30,7 +29,13 @@ rustPlatform.buildRustPackage rec { "--skip=pipeline::runner::tests::test_time_to_send_next_frame" ]; - nativeBuildInputs = [ pkg-config clang ffmpeg ]; + nativeBuildInputs = [ + rustPlatform.bindgenHook + pkg-config + clang + ffmpeg + ]; + buildInputs = [ openssl.dev alsa-lib.dev @@ -39,13 +44,11 @@ rustPlatform.buildRustPackage rec { opencv ]; - env.LIBCLANG_PATH = "${libclang.lib}/lib"; - meta = { description = "Terminal Media Player"; homepage = "https://github.com/maxcurzi/tplay"; platforms = lib.platforms.linux; license = lib.licenses.mit; - maintainers = with lib.maintainers; [ demine ]; + maintainers = with lib.maintainers; [ demine colemickens ]; }; } |