tplay: init at 0.4.5 (#266300)
* maintainers: add demine * tplay: init at 0.4.5
This commit is contained in:
parent
771cae0903
commit
d1df76655e
@ -4251,6 +4251,12 @@
|
|||||||
githubId = 5503422;
|
githubId = 5503422;
|
||||||
name = "Dmitriy Demin";
|
name = "Dmitriy Demin";
|
||||||
};
|
};
|
||||||
|
demine = {
|
||||||
|
email = "riches_tweaks0o@icloud.com";
|
||||||
|
github = "demine0";
|
||||||
|
githubId = 51992962;
|
||||||
|
name = "Nikita Demin";
|
||||||
|
};
|
||||||
demize = {
|
demize = {
|
||||||
email = "johannes@kyriasis.com";
|
email = "johannes@kyriasis.com";
|
||||||
github = "kyrias";
|
github = "kyrias";
|
||||||
|
13
pkgs/by-name/tp/tplay/cargo.diff
Normal file
13
pkgs/by-name/tp/tplay/cargo.diff
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/Cargo.lock b/Cargo.lock
|
||||||
|
index 0eb70e4..8d81ba0 100644
|
||||||
|
--- a/Cargo.lock
|
||||||
|
+++ b/Cargo.lock
|
||||||
|
@@ -2069,7 +2069,7 @@ checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "tplay"
|
||||||
|
-version = "0.4.4"
|
||||||
|
+version = "0.4.5"
|
||||||
|
dependencies = [
|
||||||
|
"clap",
|
||||||
|
"crossbeam-channel",
|
51
pkgs/by-name/tp/tplay/package.nix
Normal file
51
pkgs/by-name/tp/tplay/package.nix
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pkg-config
|
||||||
|
, clang
|
||||||
|
, ffmpeg
|
||||||
|
, openssl
|
||||||
|
, alsa-lib
|
||||||
|
, libclang
|
||||||
|
, opencv
|
||||||
|
}:
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "tplay";
|
||||||
|
version = "0.4.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "maxcurzi";
|
||||||
|
repo = "tplay";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-qt5I5rel88NWJZ6dYLCp063PfVmGTzkUUKgF3JkhLQk=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoHash = "sha256-0kHh7Wb9Dp+t2G9/Kz/3K43bQdFCl+q2Vc3W32koc2I=";
|
||||||
|
cargoPatches = [ ./cargo.diff ];
|
||||||
|
checkFlags = [
|
||||||
|
# requires network access
|
||||||
|
"--skip=pipeline::image_pipeline::tests::test_process"
|
||||||
|
"--skip=pipeline::image_pipeline::tests::test_to_ascii"
|
||||||
|
"--skip=pipeline::image_pipeline::tests::test_to_ascii_ext"
|
||||||
|
"--skip=pipeline::runner::tests::test_time_to_send_next_frame"
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config clang ffmpeg ];
|
||||||
|
buildInputs = [
|
||||||
|
openssl.dev
|
||||||
|
alsa-lib.dev
|
||||||
|
libclang.lib
|
||||||
|
ffmpeg.dev
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user